make/linux/makefiles/zeroshark.make
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8141570.02 Cdiff make/linux/makefiles/zeroshark.make
make/linux/makefiles/zeroshark.make
Print this page
*** 23,34 ****
#
#
# 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
OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT)
--- 23,42 ----
#
#
# Setup common to Zero (non-Shark) and Shark versions of VM
! # 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