diff options
Diffstat (limited to 'sys/boot/powerpc/Makefile.inc')
-rw-r--r-- | sys/boot/powerpc/Makefile.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/powerpc/Makefile.inc b/sys/boot/powerpc/Makefile.inc index 265f86d..dab65e5 100644 --- a/sys/boot/powerpc/Makefile.inc +++ b/sys/boot/powerpc/Makefile.inc @@ -1,3 +1,8 @@ # $FreeBSD$ +.if ${MACHINE_ARCH} == "powerpc64" +CFLAGS+= -m32 -mcpu=powerpc +LDFLAGS+= -m elf32ppc +.endif + .include "../Makefile.inc" |