hotspot/make/linux/makefiles/adlc.make
changeset 5886 988a6337d55e
parent 5547 f4b087cbb361
child 7397 5b173b4ca846
equal deleted inserted replaced
5708:e92b3d8118f1 5886:988a6337d55e
   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