diff options
author | trims <none@none> | 2010-07-02 01:36:15 -0700 |
---|---|---|
committer | trims <none@none> | 2010-07-02 01:36:15 -0700 |
commit | fb7bebce04f6e8bae42c2537fe962f757c3f6913 (patch) | |
tree | 751becbcd05330affd57a5fb50e9c5fa0933eab7 /make | |
parent | 3b5aa804efd543aca1c1e6ea73d748ee470d619d (diff) | |
parent | 89980410f5af86aa5d9465b7f76e2bdf7500b66a (diff) |
Merge
Diffstat (limited to 'make')
-rw-r--r-- | make/linux/makefiles/adlc.make | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/make/linux/makefiles/adlc.make b/make/linux/makefiles/adlc.make index 884d09951..35b7a89cc 100644 --- a/make/linux/makefiles/adlc.make +++ b/make/linux/makefiles/adlc.make @@ -138,7 +138,11 @@ ADLCFLAGS += -q -T # Normally, debugging is done directly on the ad_<arch>*.cpp files. # But -g will put #line directives in those files pointing back to <arch>.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 |