Commit 723e2b35 authored by Committed by Linus Torvalds
[PATCH] ppc64: override command line AS/LD/CC variables when adding -m64 and...
[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 <firstname.lastname@example.org> Cc: Anton Blanchard <email@example.com> Cc: Benjamin Herrenschmidt <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 3 additions and 3 deletions