aboutsummaryrefslogtreecommitdiff
path: root/sp/src/devtools/makefile_base_posix.mak
diff options
context:
space:
mode:
Diffstat (limited to 'sp/src/devtools/makefile_base_posix.mak')
-rw-r--r--sp/src/devtools/makefile_base_posix.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/sp/src/devtools/makefile_base_posix.mak b/sp/src/devtools/makefile_base_posix.mak
index 7ad95035..8b32dec5 100644
--- a/sp/src/devtools/makefile_base_posix.mak
+++ b/sp/src/devtools/makefile_base_posix.mak
@@ -42,7 +42,7 @@ CFLAGS = $(ARCH_FLAGS) $(CPPFLAGS) $(WARN_FLAGS) -fvisibility=$(SymbolVisibility
# In -std=gnu++0x mode we get lots of errors about "error: narrowing conversion". -fpermissive
# turns these into warnings in gcc, and -Wno-c++11-narrowing suppresses them entirely in clang 3.1+.
ifeq ($(CXX),clang++)
- CXXFLAGS = $(CFLAGS) -Wno-c++11-narrowing -Wno-dangling-else
+ CXXFLAGS = $(CFLAGS) -Wno-c++11-narrowing
else
CXXFLAGS = $(CFLAGS) -fpermissive
endif