|
From: <sv...@va...> - 2009-01-16 06:55:13
|
Author: njn
Date: 2009-01-16 06:55:09 +0000 (Fri, 16 Jan 2009)
New Revision: 8963
Log:
Use -g instead of -gstabs -- like the trunk -- for the main CFLAGS. This
reduces the number of regtest failures on Linux by 89, due to
vg_replace_malloc.c and similar files having their source name identified
correctly in stack traces (with -gstabs only the object file name was
reported).
Modified:
branches/DARWIN/Makefile.flags.am
Modified: branches/DARWIN/Makefile.flags.am
===================================================================
--- branches/DARWIN/Makefile.flags.am 2009-01-16 06:53:04 UTC (rev 8962)
+++ branches/DARWIN/Makefile.flags.am 2009-01-16 06:55:09 UTC (rev 8963)
@@ -1,7 +1,7 @@
# Baseline flags for all compilations. Aim here is to maximise
# performance and get whatever useful warnings we can out of gcc.
-AM_CFLAGS_BASE = -O2 -gstabs -Wmissing-prototypes -Wall -Wshadow \
+AM_CFLAGS_BASE = -O2 -g -Wmissing-prototypes -Wall -Wshadow \
-Wpointer-arith -Wstrict-prototypes -Wmissing-declarations \
@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
-fno-strict-aliasing
@@ -16,7 +16,7 @@
AM_PIC_FLAG = -fpic
endif
-AM_CFLAGS_PIC = $(AM_PIC_FLAG) -gstabs -fno-omit-frame-pointer -fno-strict-aliasing
+AM_CFLAGS_PIC = $(AM_PIC_FLAG) -g -fno-omit-frame-pointer -fno-strict-aliasing
# Flags for specific targets
AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
|