Browse Source

Add SKIP_STRIPPING Makefile option to disable stripping

master
falkTX 8 years ago
parent
commit
4332e357a0
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      Makefile.mk
  2. +1
    -1
      dpf

+ 4
- 1
Makefile.mk View File

@@ -35,7 +35,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)


+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit cda831ffcd5f4fe6138e86e5fab70d81f4cf3a18
Subproject commit c3a3ee004eb5427067488f425540ba54336e4d38

Loading…
Cancel
Save