diff options
-rwxr-xr-x | solenv/gbuild/platform/linux.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/linux.mk b/solenv/gbuild/platform/linux.mk index 3a708b7a8f02..125152358ddc 100755 --- a/solenv/gbuild/platform/linux.mk +++ b/solenv/gbuild/platform/linux.mk @@ -141,6 +141,12 @@ gb_LinkTarget_LDFLAGS += \ endif +ifneq ($(gb_SYMBOL),$(true)) +gb_LinkTarget_LDFLAGS += \ + -Wl,--strip-all \ + +endif + ifeq ($(gb_DEBUGLEVEL),2) gb_COMPILEROPTFLAGS := -O0 else |