kernel Makefile options for $(AS)

Olaf Hering olh at suse.de
Thu May 27 08:56:58 EST 2004


Is -64 still a valid option for as? Should it be -mppc64?


--- linux.old/arch/ppc64/Makefile~        2004-05-26 22:12:42.000000000 +0000
+++ linux/arch/ppc64/Makefile 2004-05-26 22:01:09.000000000 +0000
@@ -17,7 +17,7 @@

 HAS_BIARCH      := $(shell if $(CC) -m64 -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo y; else echo n; fi;)
 ifeq ($(HAS_BIARCH),y)
-AS              := $(AS) -64
+AS              := $(AS) -mppc64
 LD              := $(LD) -m elf64ppc
 CC             := $(CC) -m64
 endif


--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list