From: Peter Michael Green Date: Tue, 15 Feb 2022 05:45:40 +0000 (+0000) Subject: Remove supirious dash before CC_OPT X-Git-Tag: archive/raspbian/5.5.4-1+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8148d8e5e7f2a6f39f6ac37067a31a90252045e9;p=kamailio.git Remove supirious dash before CC_OPT Gbp-Pq: Name remove-supirious-dash.patch --- diff --git a/src/Makefile.defs b/src/Makefile.defs index e31a56c4..191fde68 100644 --- a/src/Makefile.defs +++ b/src/Makefile.defs @@ -1300,7 +1300,7 @@ ifeq ($(ARCH), arm6) ifeq ($(CC_NAME), gcc) C_DEFS+=-DCC_GCC_LIKE_ASM #common stuff - CFLAGS+=-$(CC_OPT) -funroll-loops -fsigned-char \ + CFLAGS+=$(CC_OPT) -funroll-loops -fsigned-char \ $(PROFILE) #if gcc 7.0+, 6.0+, 5.0+, 4.5+ or 4.2+ ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+ 9.0+,$(CC_SHORTVER)))) @@ -1347,7 +1347,7 @@ ifeq ($(ARCH), arm7) ifeq ($(CC_NAME), gcc) C_DEFS+=-DCC_GCC_LIKE_ASM #common stuff - CFLAGS+=-$(CC_OPT) -funroll-loops -fsigned-char \ + CFLAGS+=$(CC_OPT) -funroll-loops -fsigned-char \ $(PROFILE) #if gcc 7.0+, 6.0+, 5.0+, 4.5+ or 4.2+ ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+ 9.0+,$(CC_SHORTVER)))) diff --git a/src/Makefile.rules b/src/Makefile.rules index 57c95543..63f5fa40 100644 --- a/src/Makefile.rules +++ b/src/Makefile.rules @@ -97,6 +97,8 @@ exec_cmd= $(if $($(quiet)_cmd_$(1)),\ #implicit rules %.o:%.c $(ALLDEP) + echo CFLAGS=$(CFLAGS) + echo CC_OPT=$(CC_OPT) $(call exec_cmd,CC) @$(call cmd_MKDEP)