make/bsd/makefiles/ppc.make

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

@@ -22,9 +22,9 @@
 #  
 #
 
 # 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
 
 # Must also specify if CPU is big endian
 CFLAGS += -DVM_BIG_ENDIAN
-