# HG changeset patch # User never # Date 1276628595 25200 # Node ID 0b4ee1df1b44021ac5d71815aec5f65ced61bee5 # Parent 49fac4acd688d9e92838a28cb4de301dbff3ba23 6952176: Remove debug flag from adlc makefile for 6Update trains Reviewed-by: kvn, twisti diff -r 49fac4acd688 -r 0b4ee1df1b44 make/linux/makefiles/adlc.make --- a/make/linux/makefiles/adlc.make Mon Jun 07 14:17:01 2010 -0700 +++ b/make/linux/makefiles/adlc.make Tue Jun 15 12:03:15 2010 -0700 @@ -138,7 +138,11 @@ # Normally, debugging is done directly on the ad_*.cpp files. # But -g will put #line directives in those files pointing back to .ad. +# Some builds of gcc 3.2 have a bug that gets tickled by the extra #line directives +# so skip it for 3.2 and ealier. +ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 3 \) \))" "0" ADLCFLAGS += -g +endif ifdef LP64 ADLCFLAGS += -D_LP64