diff make/linux/makefiles/zeroshark.make @ 17843:81d7a4b28dc5

8036619: Shark: add LLVM 3.4 support Reviewed-by: twisti, kvn
author neugens
date Tue, 08 Apr 2014 14:55:16 -0700
parents c18cbe5936b8
children 92aa6797d639
line wrap: on
line diff
--- a/make/linux/makefiles/zeroshark.make	Mon Apr 07 22:13:55 2014 -0700
+++ b/make/linux/makefiles/zeroshark.make	Tue Apr 08 14:55:16 2014 -0700
@@ -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