aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/CodeGen/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/Makefile b/lib/CodeGen/Makefile
index 744f8e937b..e77a53a337 100644
--- a/lib/CodeGen/Makefile
+++ b/lib/CodeGen/Makefile
@@ -12,3 +12,6 @@ LIBRARYNAME = LLVMCodeGen
PARALLEL_DIRS = SelectionDAG
include $(LEVEL)/Makefile.common
+
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))