diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-04-04 15:37:29 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-04-11 12:18:20 +0200 |
commit | e7a883994723d7002a92d777734aafefb2d18763 (patch) | |
tree | edb56361764c1ffba7d3f441e6e58004e7127d5b /solenv/gbuild/platform/solaris.mk | |
parent | 8d19e03b17fdd6e6159843249fe0b4f41c526f17 (diff) |
make linker flags conditional when used, not when defined
gb_LINKEROPTFLAGS and gb_LINKERSTRIPDEBUGFLAGS are only used by
gb_LinkTarget__get_debugldflags, which already properly uses them
depending on whether debuginfo is wanted or not
Change-Id: I0befc10d6f1ee99ccd49a640241e3ae023454875
Reviewed-on: https://gerrit.libreoffice.org/70366
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv/gbuild/platform/solaris.mk')
-rw-r--r-- | solenv/gbuild/platform/solaris.mk | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk index 88fa9413f726..e386601996f2 100644 --- a/solenv/gbuild/platform/solaris.mk +++ b/solenv/gbuild/platform/solaris.mk @@ -86,12 +86,7 @@ endif # sun ld doesn't understand -O1 optimize flag gb_LINKEROPTFLAGS := - -ifeq ($(gb_SYMBOL),$(true)) -gb_LINKERSTRIPDEBUGFLAGS := -else gb_LINKERSTRIPDEBUGFLAGS := -Wl,-zredlocsym -Wl,-znoldynsym -endif # LinkTarget class |