Allow LLVM to be built with extra options.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 20 Jun 2006 18:50:48 +0000 (18:50 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 20 Jun 2006 18:50:48 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28873 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index df8f63f6f1aa7ea4913e3b4ebdd4986fa298cbb9..dd3ed014aa73fc5837ea43624e32948c9452a8e3 100644 (file)
@@ -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