[PATCH] ppc64 & powerpc: Check whether the native CC can use -m64

Arnd Bergmann arnd at arndb.de
Wed Nov 9 21:43:48 EST 2005


On Dinsdag 08 November 2005 20:14, Daniel Ostrow wrote:
> +CC     := $(shell if $(CC) -m64 -S -o /dev/null -xc /dev/null >/dev/null
> 2>&1; then echo $(CC); else echo powerpc64-linux-gcc; fi )

You should be using $(call cc-option,-m64) for this, like we do in the
rest of the Makefile.

	Arnd <><



More information about the Linuxppc64-dev mailing list