From f26d940e32f7214806d50533710e2b793c2cd542 Mon Sep 17 00:00:00 2001 From: Fabien Poussin Date: Thu, 4 Jul 2019 13:39:27 +0200 Subject: [PATCH] Added STRIPOPTS var for install --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 41f8a15..edd9cce 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ include ../mconfig HOSTCXX ?= $(CXX) HOSTCXXFLAGS ?= $(CXXFLAGS) HOSTLDFLAGS ?= $(LDFLAGS) -STRIP ?= strip +STRIPOPTS ?= -s ifeq ($(BUILD_SHUTDOWN),yes) SHUTDOWN=shutdown @@ -55,7 +55,7 @@ run-cppcheck: install: all install -d $(DESTDIR)$(SBINDIR) - install -s --strip-program=$(STRIP) dinit dinitctl $(SHUTDOWN) $(DESTDIR)$(SBINDIR) + install $(STRIPOPTS) dinit dinitctl $(SHUTDOWN) $(DESTDIR)$(SBINDIR) ifeq ($(BUILD_SHUTDOWN),yes) ln -f $(DESTDIR)$(SBINDIR)/shutdown $(DESTDIR)$(SBINDIR)/halt ln -f $(DESTDIR)$(SBINDIR)/shutdown $(DESTDIR)$(SBINDIR)/reboot -- 2.25.1