hotspot/make/linux/makefiles/zeroshark.make
changeset 23196 7fb201976e8b
parent 5547 f4b087cbb361
child 34230 b9c64b7c06c9
--- a/hotspot/make/linux/makefiles/zeroshark.make	Tue Mar 04 17:14:00 2014 +0100
+++ b/hotspot/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