diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-07-23 19:49:45 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-08-01 11:32:47 +0200 |
commit | 8eb3afe0e95e5d45efbe58996fe90982c740565d (patch) | |
tree | eaed838ecb0551802b260e127e94fe87af9318a9 /scripts/Kbuild.include | |
parent | 002d27b1b70f6d574c816ef265147704c4e951f1 (diff) | |
download | linux-3.10-8eb3afe0e95e5d45efbe58996fe90982c740565d.tar.gz linux-3.10-8eb3afe0e95e5d45efbe58996fe90982c740565d.tar.bz2 linux-3.10-8eb3afe0e95e5d45efbe58996fe90982c740565d.zip |
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>
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r-- | scripts/Kbuild.include | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index f0113226353..bb19c1561f1 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -77,8 +77,7 @@ cc-option-align = $(subst -functions=0,,\ # cc-version # Usage gcc-ver := $(call cc-version, $(CC)) -cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh \ - $(if $(1), $(1), $(CC))) +cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC)) # cc-ifversion # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) |