Browse Source

Merge pull request #475 from simonvanderveldt/allow-disabling-stripping

Add option to allow disabling stripping of binaries
tags/1.9.7b
Filipe Coelho GitHub 8 years ago
parent
commit
c5a353580d
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      source/Makefile.mk

+ 4
- 1
source/Makefile.mk View File

@@ -72,7 +72,10 @@ ifeq ($(MACOS),true)
LINK_OPTS = -fdata-sections -ffunction-sections -Wl,-dead_strip -Wl,-dead_strip_dylibs
else
# Common linker flags
LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all
LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed
ifneq ($(SKIP_STRIPPING),true)
LINK_OPTS += -Wl,--strip-all
endif
endif

ifeq ($(RASPPI),true)


Loading…
Cancel
Save