aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/System/Makefile3
-rw-r--r--lib/Target/CBackend/Makefile1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/System/Makefile b/lib/System/Makefile
index d4fc79ce7a..85de7369fc 100644
--- a/lib/System/Makefile
+++ b/lib/System/Makefile
@@ -14,3 +14,6 @@ BUILD_ARCHIVE = 1
EXTRA_DIST = Unix Win32 README.txt
include $(LEVEL)/Makefile.common
+
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
diff --git a/lib/Target/CBackend/Makefile b/lib/Target/CBackend/Makefile
index ac6ff3bb53..9b26d8b8c4 100644
--- a/lib/Target/CBackend/Makefile
+++ b/lib/Target/CBackend/Makefile
@@ -9,5 +9,4 @@
LEVEL = ../../..
LIBRARYNAME = LLVMCBackend
-CXXFLAGS += -pedantic -Wno-long-long
include $(LEVEL)/Makefile.common