]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sparc/Makefile
sparc32: pass -m32 when building vmlinux.lds
[linux-2.6-omap-h63xx.git] / arch / sparc / Makefile
index fef28e267a52fc1e2943d85c7bf3daea8603170e..6668e6037af647adbc9c31b4282027d5ed26fd65 100644 (file)
@@ -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.