Browse Source

Use -g in build flags if using SKIP_STRIPPING=true

pull/351/head
falkTX 3 years ago
parent
commit
bf74aa2455
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Makefile.base.mk

+ 4
- 0
Makefile.base.mk View File

@@ -163,6 +163,10 @@ LINK_OPTS += -Wl,--strip-all
endif
endif

ifeq ($(SKIP_STRIPPING),true)
BASE_FLAGS += -g
endif

ifeq ($(NOOPT),true)
# Non-CPU-specific optimization flags
BASE_OPTS = -O2 -ffast-math -fdata-sections -ffunction-sections


Loading…
Cancel
Save