diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2000-08-11 23:23:20 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2000-08-11 23:23:20 +0000 |
| commit | 5aef48a16bdf90d8cd4f28bb3ab667ca5afba8e0 (patch) | |
| tree | 1ed9b8c0d582103f72a34491d44208ad47f37ccc | |
| parent | 6d939197953f140cfdf1b696bbc44e976fc3bd13 (diff) | |
Notes
| -rw-r--r-- | sys/boot/ficl/Makefile | 3 | ||||
| -rw-r--r-- | sys/boot/i386/Makefile.inc | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index 88e32995bbba..4f19de874cac 100644 --- a/sys/boot/ficl/Makefile +++ b/sys/boot/ficl/Makefile @@ -7,6 +7,9 @@ CLEANFILES= softcore.c testmain testmain.o .if ${MACHINE_ARCH} == "alpha" CFLAGS+= -mno-fp-regs .endif +.if ${MACHINE_ARCH} == "i386" +CFLAGS+= -mpreferred-stack-boundary=2 +.endif .ifmake testmain CFLAGS+= -DTESTMAIN -D_TESTMAIN SRCS+= testmain.c diff --git a/sys/boot/i386/Makefile.inc b/sys/boot/i386/Makefile.inc index 4c20c10ac163..fa5ea569e609 100644 --- a/sys/boot/i386/Makefile.inc +++ b/sys/boot/i386/Makefile.inc @@ -3,3 +3,4 @@ # $FreeBSD$ LOADER_ADDRESS?= 0x200000 +CFLAGS+= -mpreferred-stack-boundary=2 |
