Allow LLVM to be built with extra options.
[oota-llvm.git] / 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