Skip to content

Commit

Permalink
Merge branch 'jb49520' into 'master'
Browse files Browse the repository at this point in the history
Allow strip command to be replaced through external environment variable STRIP.

See merge request mer-core/libglibutil!6
  • Loading branch information
monich committed May 29, 2020
2 parents e443143 + 815e48c commit fd046fc
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 fd046fc

Please sign in to comment.