OpenJDK / zgc / zgc
changeset 5887:bcaa03a6ede1
Merge
author | never |
---|---|
date | Tue, 15 Jun 2010 12:06:52 -0700 |
parents | ee6d45117f3b 988a6337d55e |
children | 8eac4eb75d6e |
files | |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/make/linux/makefiles/adlc.make Mon Jun 14 00:52:15 2010 -0700 +++ b/hotspot/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_<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