mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
kbuild: always use $(CC) for $(call cc-version)
The possibility to specify an optional parameter did not work out as expected and it was not used - so remove the possibility. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
002d27b1b7
commit
8eb3afe0e9
1 changed files with 1 additions and 2 deletions
|
@ -77,8 +77,7 @@ cc-option-align = $(subst -functions=0,,\
|
||||||
|
|
||||||
# cc-version
|
# cc-version
|
||||||
# Usage gcc-ver := $(call cc-version, $(CC))
|
# Usage gcc-ver := $(call cc-version, $(CC))
|
||||||
cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh \
|
cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
|
||||||
$(if $(1), $(1), $(CC)))
|
|
||||||
|
|
||||||
# cc-ifversion
|
# cc-ifversion
|
||||||
# Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
|
# Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
|
||||||
|
|
Loading…
Reference in a new issue