diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-21 14:00:28 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-21 14:03:57 +0100 |
commit | f5ddeaa24bfc00c146a784e52cfa0032e4dbebc9 (patch) | |
tree | 979c42ee99ff86ad59482e4ee528f91fe57384b7 | |
parent | 955aa61dd05c46470545b5797d153e1be98ccbb5 (diff) |
stripping on linking on linux unless SYMBOLS or DEBUG have been requested
-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 |