mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
Add -mpreferred-stack-boundary=2 to CFLAGS for i386. This and libstand
reduces /boot/loader from 163840 bytes to 155648 and pxeboot from 165888 bytes to 157696 bytes.
This commit is contained in:
parent
6d93919795
commit
5aef48a16b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64550
@ -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
|
||||
|
@ -3,3 +3,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
LOADER_ADDRESS?= 0x200000
|
||||
CFLAGS+= -mpreferred-stack-boundary=2
|
||||
|
Loading…
Reference in New Issue
Block a user