From: =?utf-8?q?Rapha=C3=ABl_Hertzog?= Date: Fri, 19 Jun 2020 14:58:53 +0200 Subject: Don't strip executables when DEBUG=0 We want the Debian build system to do the stripping, not the upstream build system. And we want to use the default optimization level set by dpkg-buildflags. --- src/Makefile | 7 ------- 1 file changed, 7 deletions(-) --- a/src/Makefile +++ b/src/Makefile @@ -277,12 +277,6 @@ endif endif -ifeq ($(DEBUG),0) -CFLAGS += -O2 -ifneq ($(UNAME),Darwin) -LFLAGS += -s -endif -else ifeq ($(DEBUG),1) ifneq ($(UNAME),Darwin) CFLAGS += -DDEBUG -Og -ggdb @@ -299,7 +293,6 @@ CFLAGS += -fsanitize=address -fno-omit-frame-pointer endif endif -endif ifeq ($(UNAME),Linux) IS_RPI := $(shell grep -q Raspberry /proc/cpuinfo && echo 1 || echo 0)