From: Stephen Rothwell Date: Tue, 22 Jul 2008 22:47:17 +0000 (-0700) Subject: sparc32: pass -m32 when building vmlinux.lds X-Git-Tag: v2.6.27-rc1~862^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4a0a088970a553e9f89d23eec688932f689d57f9;p=linux-2.6-omap-h63xx.git sparc32: pass -m32 when building vmlinux.lds Otherwise it breaks since we merged asm/page.h Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index fef28e267a5..6668e6037af 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile @@ -18,6 +18,7 @@ CHECKFLAGS += -D__sparc__ #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 KBUILD_AFLAGS += -m32 +CPPFLAGS_vmlinux.lds += -m32 #LDFLAGS_vmlinux = -N -Ttext 0xf0004000 # Since 2.5.40, the first stage is left not btfix-ed.