diff make/linux/makefiles/zeroshark.make @ 14716:03704aa6e71b

Merge.
author Christian Humer <christian.humer@gmail.com>
date Fri, 21 Mar 2014 13:54:43 +0100
parents 81ccf2c854c7
children 92aa6797d639
line wrap: on
line diff
--- a/make/linux/makefiles/zeroshark.make	Fri Mar 21 13:54:08 2014 +0100
+++ b/make/linux/makefiles/zeroshark.make	Fri Mar 21 13:54:43 2014 +0100
@@ -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