make/bsd/makefiles/zeroshark.make

Print this page
rev 6728 : 8046765: disable FORTIFY_SOURCE for files with optimization disabled.
Reviewed-by: duke

*** 25,36 **** --- 25,38 ---- # Setup common to Zero (non-Shark) and Shark versions of VM # The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT) + DEBUG_CFLAGS/sharedRuntimeTrig.o = -U_FORTIFY_SOURCE # The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT) + DEBUG_CFLAGS/sharedRuntimeTrans.o = -U_FORTIFY_SOURCE # Specify that the CPU is little endian, if necessary ifeq ($(ZERO_ENDIANNESS), little) CFLAGS += -DVM_LITTLE_ENDIAN endif