summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-06-20 18:50:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-06-20 18:50:48 +0000
commit6cee033a80454200589229a4ded3b052f9864f6b (patch)
treec68401959ed6d16e11d729e8eef72d449ca85a35 /Makefile.rules
parent6d11ddbd8d1d8ad0833fb48e4b9078172b3bb426 (diff)
downloadllvm-6cee033a80454200589229a4ded3b052f9864f6b.tar.gz
llvm-6cee033a80454200589229a4ded3b052f9864f6b.tar.bz2
llvm-6cee033a80454200589229a4ded3b052f9864f6b.tar.xz
Allow LLVM to be built with extra options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index df8f63f6f1..dd3ed014aa 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -362,7 +362,7 @@ endif
#----------------------------------------------------------
CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused -Wno-long-long \
- -pedantic
+ -pedantic $(EXTRA_OPTIONS)
ifeq ($(OS),HP-UX)
CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE