kernel-ark/arch/ppc64
Sven Luther 723e2b35e4 [PATCH] ppc64: override command line AS/LD/CC variables when adding -m64 and co for biarch compilers
The following kind of calls currently fails :

  make ARCH=ppc64 CC="gcc-3.4"

Since the code for detecting a biarch compiler and adding the needed 64bit
magic argument fails if the AS/LD/CC commands are overriden in the command
line.

The attached patch fixes this by using the make override and += directive,
but i am not 100% sure this will work without gmake, as i am no Makefile
expert.

Cc: Paul Mackerras <paulus@samba.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 18:46:26 -07:00
..
boot
configs
kernel [PATCH] ppc64: Abolish ioremap_mm 2005-06-21 18:46:26 -07:00
lib
mm [PATCH] ppc64: Abolish ioremap_mm 2005-06-21 18:46:26 -07:00
oprofile
xmon
defconfig
Kconfig
Kconfig.debug
Makefile [PATCH] ppc64: override command line AS/LD/CC variables when adding -m64 and co for biarch compilers 2005-06-21 18:46:26 -07:00