diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-09 01:01:29 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-09 01:01:29 +0000 |
commit | 558310f364758b27158f6ce56a2524174c7a666d (patch) | |
tree | e5567e9d42aa956631d4cdf13c9299311fc48a4e /sun.cf | |
parent | 2ca0547f7eae659bf49fb26deaf7fb9e518c7ce9 (diff) |
- Add missing SolarisABIFlag to AMD64 ToolkitStringsABIOptions
- Add -z combreloc to default linker flags on Solaris
- Add -B direct to default program link flags on Solaris
Diffstat (limited to 'sun.cf')
-rw-r--r-- | sun.cf | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -429,7 +429,7 @@ XCOMM SunPro C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion #endif # ifdef AMD64Architecture # define StandardDefines -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -# define ToolkitStringsABIOptions -intelabi +# define ToolkitStringsABIOptions -intelabi SolarisABIFlag # elif defined(i386Architecture) # if (OSMajorVersion < 4) || ((OSMajorVersion == 5) && (OSMinorVersion <= 5)) # define StandardDefines -Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386 \ @@ -750,7 +750,7 @@ XCOMM SunPro C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion #else /* OSMajorVersion >= 5, i.e. Solaris 2.0 & later */ /* Only load libraries when needed on Solaris 7 & later */ # if OSMinorVersion >= 7 -# define LazyLoadFlag -z lazyload +# define LazyLoadFlag -z lazyload -z combreloc # else # define LazyLoadFlag /* */ # endif @@ -766,7 +766,7 @@ XCOMM SunPro C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion # endif /* ExtraLoadOptions only apply to programs */ # ifndef ExtraLoadOptions -# define ExtraLoadOptions NonExecStackLoadFlag +# define ExtraLoadOptions NonExecStackLoadFlag -B direct # endif #endif /* OSMajorVersion < 5 */ |