comparison make/linux/makefiles/adlc.make @ 1606:0b4ee1df1b44

6952176: Remove debug flag from adlc makefile for 6Update trains Reviewed-by: kvn, twisti
author never
date Tue, 15 Jun 2010 12:03:15 -0700
parents c18cbe5936b8
children f95d63e2154a
comparison
equal deleted inserted replaced
1585:49fac4acd688 1606:0b4ee1df1b44
136 # Note "+="; it is a hook so flags.make can add more flags, like -g or -DFOO. 136 # Note "+="; it is a hook so flags.make can add more flags, like -g or -DFOO.
137 ADLCFLAGS += -q -T 137 ADLCFLAGS += -q -T
138 138
139 # Normally, debugging is done directly on the ad_<arch>*.cpp files. 139 # Normally, debugging is done directly on the ad_<arch>*.cpp files.
140 # But -g will put #line directives in those files pointing back to <arch>.ad. 140 # But -g will put #line directives in those files pointing back to <arch>.ad.
141 # Some builds of gcc 3.2 have a bug that gets tickled by the extra #line directives
142 # so skip it for 3.2 and ealier.
143 ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 3 \) \))" "0"
141 ADLCFLAGS += -g 144 ADLCFLAGS += -g
145 endif
142 146
143 ifdef LP64 147 ifdef LP64
144 ADLCFLAGS += -D_LP64 148 ADLCFLAGS += -D_LP64
145 else 149 else
146 ADLCFLAGS += -U_LP64 150 ADLCFLAGS += -U_LP64