# HG changeset patch # User never # Date 1276628812 25200 # Node ID 78fc92dfd4ca1d9211d1b921c479ac34f6eef85b # Parent d179e225c164645ccbc66261572370167f00bacb# Parent 0b4ee1df1b44021ac5d71815aec5f65ced61bee5 Merge diff -r d179e225c164 -r 78fc92dfd4ca make/linux/makefiles/adlc.make --- a/make/linux/makefiles/adlc.make Mon Jun 14 00:52:15 2010 -0700 +++ b/make/linux/makefiles/adlc.make Tue Jun 15 12:06:52 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