diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-01-08 19:58:51 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-01-08 19:58:51 +0100 |
commit | ad14336de8e9cddae9ed29d45bd2e97abb72eaf9 (patch) | |
tree | 1846c6ca5ecc98a1ab324d9a3a97873067450f7a /arch/ppc/Makefile | |
parent | kbuild: reference_discarded addition (diff) | |
download | linux-ad14336de8e9cddae9ed29d45bd2e97abb72eaf9.tar.xz linux-ad14336de8e9cddae9ed29d45bd2e97abb72eaf9.zip |
kbuild: remove GCC_VERSION
This was causing some ordering problems. Remove the up-front evaluation
and just revaluate the compiler version each time we need it.
(The up-front evaluation was problematic because some architectures modify
the value of $(CC)).
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/ppc/Makefile')
-rw-r--r-- | arch/ppc/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index e719a4933af1..98e940beeb3b 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile @@ -128,10 +128,9 @@ TOUT := .tmp_gas_check # Ensure this is binutils 2.12.1 (or 2.12.90.0.7) or later for altivec # instructions. # gcc-3.4 and binutils-2.14 are a fatal combination. -GCC_VERSION := $(call cc-version) checkbin: - @if test "$(GCC_VERSION)" = "0304" ; then \ + @if test "$(call cc-version)" = "0304" ; then \ if ! /bin/echo mftb 5 | $(AS) -v -mppc -many -o $(TOUT) >/dev/null 2>&1 ; then \ echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build '; \ echo 'correctly with gcc-3.4 and your version of binutils.'; \ |