summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-02 18:21:11 +0000
committerChris Lattner <sabre@nondot.org>2006-06-02 18:21:11 +0000
commit1969e3ce9805b6d6225c18f06e3a92d7c737e2a0 (patch)
tree4b57ac40abc78a27044a3982a2c4079868bde596 /projects
parent57de7a454276cd523a28b99f655b9e09ee6beadf (diff)
downloadllvm-1969e3ce9805b6d6225c18f06e3a92d7c737e2a0.tar.gz
llvm-1969e3ce9805b6d6225c18f06e3a92d7c737e2a0.tar.bz2
llvm-1969e3ce9805b6d6225c18f06e3a92d7c737e2a0.tar.xz
Fix build on systems with broken bison
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/Stacker/lib/compiler/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/projects/Stacker/lib/compiler/Makefile b/projects/Stacker/lib/compiler/Makefile
index 8e67fbe3c1..053df43694 100644
--- a/projects/Stacker/lib/compiler/Makefile
+++ b/projects/Stacker/lib/compiler/Makefile
@@ -11,4 +11,9 @@ ifdef PARSE_DEBUG
INCLUDES += -DPARSE_DEBUG
endif
+# Disable -pedantic for this library, as bison output isn't necessarily
+# -pedantic clean.
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
+
$(ObjDir)/Lexer.o : $(PROJ_SRC_DIR)/StackerParser.h