1.1 --- a/make/linux/makefiles/adlc.make Mon Jun 07 14:17:01 2010 -0700 1.2 +++ b/make/linux/makefiles/adlc.make Tue Jun 15 12:03:15 2010 -0700 1.3 @@ -138,7 +138,11 @@ 1.4 1.5 # Normally, debugging is done directly on the ad_<arch>*.cpp files. 1.6 # But -g will put #line directives in those files pointing back to <arch>.ad. 1.7 +# Some builds of gcc 3.2 have a bug that gets tickled by the extra #line directives 1.8 +# so skip it for 3.2 and ealier. 1.9 +ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 3 \) \))" "0" 1.10 ADLCFLAGS += -g 1.11 +endif 1.12 1.13 ifdef LP64 1.14 ADLCFLAGS += -D_LP64