1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18938 from benpicco/make_extraneous_text

makefiles/gnu.inc.mk: fix "extraneous text after 'ifneq' directive"
This commit is contained in:
Marian Buschsieweke 2022-11-20 17:29:30 +01:00 committed by GitHub
commit 4ffa4112d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ OBJDUMP ?= $(_OBJDUMP)
GCC_VERSION := $(shell $(CC) -dumpversion | cut -d . -f 1)
# -fmacro-prefix-map requires GCC 8
ifneq (8, $(firstword $(shell echo 8 $(GCC_VERSION) | tr ' ' '\n' | sort -n))))
ifneq (8, $(firstword $(shell echo 8 $(GCC_VERSION) | tr ' ' '\n' | sort -n)))
OPTIONAL_CFLAGS_BLACKLIST += -fmacro-prefix-map=$(RIOTBASE)/=
endif