Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[libglibutil] allow strip command to be replaced through external env…
…ironment variable STRIP. JB#49520
  • Loading branch information
krnlyng committed May 29, 2020
1 parent e443143 commit 815e48c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -71,6 +71,7 @@ COVERAGE_BUILD_DIR = $(BUILD_DIR)/coverage
#

CC ?= $(CROSS_COMPILE)gcc
STRIP ?= strip
LD = $(CC)
WARNINGS = -Wall
INCLUDES = -I$(INCLUDE_DIR)
Expand Down Expand Up @@ -192,7 +193,7 @@ $(RELEASE_LIB): $(RELEASE_OBJS)
$(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
ln -sf $(LIB) $(RELEASE_LINK)
ifeq ($(KEEP_SYMBOLS),0)
strip $@
$(STRIP) $@
endif

$(DEBUG_LINK):
Expand Down

0 comments on commit 815e48c

Please sign in to comment.