diff options
| author | Andres Freund | 2022-08-07 16:36:01 +0000 |
|---|---|---|
| committer | Andres Freund | 2022-08-07 16:36:01 +0000 |
| commit | 20c105c4db56f784eebe39cb50ede8ad1bfa3899 (patch) | |
| tree | 181a15497d4f9100521500fc670bb361a67baa39 /src/Makefile.shlib | |
| parent | 8f12a4e7addc733deb5a656548fb8013609f50f1 (diff) | |
solaris: Remove unnecessary gcc / gnu ld vs sun studio differences
Unfortunately one with_gnu_ld reference remains, otherwise we could remove the
configure support for determining with_gnu_ld.
Reviewed-By: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/20220807012914.ydz73yte6j3coulo@awork3.anarazel.de
Diffstat (limited to 'src/Makefile.shlib')
| -rw-r--r-- | src/Makefile.shlib | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 2396bc247e5..2af6192f0f3 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -188,17 +188,9 @@ ifeq ($(PORTNAME), linux) endif ifeq ($(PORTNAME), solaris) - ifeq ($(GCC), yes) - LINK.shared = $(COMPILER) -shared -Wl,-Bsymbolic - else - LINK.shared = $(COMPILER) -G -Bsymbolic - endif + LINK.shared = $(COMPILER) -shared -Wl,-Bsymbolic ifdef soname - ifeq ($(with_gnu_ld), yes) - LINK.shared += -Wl,-soname,$(soname) - else - LINK.shared += -h $(soname) - endif + LINK.shared += -Wl,-soname,$(soname) endif endif |
