diff make/linux/makefiles/zeroshark.make @ 14669:81ccf2c854c7

8036619: Shark: add LLVM 3.4 support Reviewed-by: twisti
author neugens
date Tue, 04 Mar 2014 18:52:06 -0800
parents c18cbe5936b8
children 92aa6797d639
line wrap: on
line diff
--- a/make/linux/makefiles/zeroshark.make	Tue Mar 04 17:14:00 2014 +0100
+++ b/make/linux/makefiles/zeroshark.make	Tue Mar 04 18:52:06 2014 -0800
@@ -25,6 +25,9 @@
 
 # Setup common to Zero (non-Shark) and Shark versions of VM
 
+# override this from the main file because some version of llvm do not like -Wundef
+WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wunused-function -Wunused-value
+
 # The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
 # The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized