diff options
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/solaris.mk | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk index 78698db645bf..eef6826fafc7 100644 --- a/solenv/gbuild/platform/solaris.mk +++ b/solenv/gbuild/platform/solaris.mk @@ -83,11 +83,8 @@ gb_LinkTarget_LDFLAGS += \ endif -ifneq ($(gb_DEBUGLEVEL),0) +# sun ld doesn't understand -O1 optimize flag gb_LINKEROPTFLAGS := -else -gb_LINKEROPTFLAGS := -Wl,-O1 -endif ifeq ($(gb_SYMBOL),$(true)) gb_LINKERSTRIPDEBUGFLAGS := |