summaryrefslogtreecommitdiff
path: root/lib/System/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-06-01 01:55:21 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-06-01 01:55:21 +0000
commit72f42bbc9baad5fce8ee0a9ef969afbfc201f467 (patch)
treec5981dd67ab0c6a8041933c3e3a7d2f88028e472 /lib/System/Makefile
parentdee05112a63cdd440dfb27db12ef541b7afd0a6d (diff)
downloadllvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.tar.gz
llvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.tar.bz2
llvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.tar.xz
For PR786:
Turn -pedantic and -Wno-long-long compile flags on by default. In a few places, avoid the warnings by removing these options in the local makefile. One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are left on as a reminder to developers to clean them up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Makefile')
-rw-r--r--lib/System/Makefile3
1 files changed, 3 insertions, 0 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))