From 2eb4f4beeea328a5b17c861b851c17d0940c9de2 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Sat, 10 Feb 2024 11:06:59 +0000 Subject: [PATCH] Remove supirious dash before CC_OPT Gbp-Pq: Name remove-supirious-dash.patch --- src/Makefile.defs | 4 ++-- src/Makefile.rules | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile.defs b/src/Makefile.defs index 29ac5fcc..0f73485d 100644 --- a/src/Makefile.defs +++ b/src/Makefile.defs @@ -1309,7 +1309,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)))) @@ -1356,7 +1356,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) -- 2.30.2