From 72523831cd632b48e52be1095cb50d9182ca2a97 Mon Sep 17 00:00:00 2001 From: never Date: Tue, 15 Jun 2010 12:03:15 -0700 Subject: [PATCH] 6952176: Remove debug flag from adlc makefile for 6Update trains Reviewed-by: kvn, twisti --- make/linux/makefiles/adlc.make | 4 ++++ 1 file changed, 4 insertions(+) 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_*.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 -- GitLab