Merge

Sun, 15 Feb 2009 20:09:02 -0800

author
apangin
date
Sun, 15 Feb 2009 20:09:02 -0800
changeset 1025
3264b1424f72
parent 984
fe3d7c11b4b7
parent 1024
01ddca3f0730
child 1026
a53107650e8b
child 1027
82e4d969e7cb

Merge

     1.1 --- a/make/linux/makefiles/gcc.make	Tue Feb 10 18:39:09 2009 +0300
     1.2 +++ b/make/linux/makefiles/gcc.make	Sun Feb 15 20:09:02 2009 -0800
     1.3 @@ -131,6 +131,14 @@
     1.4  # Enable linker optimization
     1.5  LFLAGS += -Xlinker -O1
     1.6  
     1.7 +# If this is a --hash-style=gnu system, use --hash-style=both
     1.8 +#   The gnu .hash section won't work on some Linux systems like SuSE 10.
     1.9 +_HAS_HASH_STYLE_GNU:=$(shell $(CC) -dumpspecs | grep -- '--hash-style=gnu')
    1.10 +ifneq ($(_HAS_HASH_STYLE_GNU),)
    1.11 +  LDFLAGS_HASH_STYLE = -Wl,--hash-style=both
    1.12 +endif
    1.13 +LFLAGS += $(LDFLAGS_HASH_STYLE)
    1.14 +
    1.15  # Use $(MAPFLAG:FILENAME=real_file_name) to specify a map file.
    1.16  MAPFLAG = -Xlinker --version-script=FILENAME
    1.17  

mercurial