make/linux/makefiles/zeroshark.make
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/make/linux/makefiles/zeroshark.make Mon Nov 16 17:03:21 2015
--- new/make/linux/makefiles/zeroshark.make Mon Nov 16 17:03:21 2015
*** 23,34 ****
--- 23,42 ----
#
#
# 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
! # Some versions of llvm do not like -Wundef
+ ifeq ($(USE_CLANG), true)
+ WARNING_FLAGS += -Wno-undef
+ endif
+ # Suppress some warning flags that are normally turned on for hotspot,
+ # because some of the zero code has not been updated accordingly.
+ WARNING_FLAGS += -Wno-return-type \
+ -Wno-format-nonliteral -Wno-format-security \
+ -Wno-maybe-uninitialized
+
# 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
OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT)
make/linux/makefiles/zeroshark.make
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File