mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-24 10:52:36 +01:00
Add the -mpreferred-stack-boundary=2 option to reduce code bloat. We
compile the kernel with this.
This commit is contained in:
parent
babff34a27
commit
6d93919795
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64549
@ -18,6 +18,10 @@ CFLAGS+= -Wall
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+= -mno-fp-regs
|
||||
.endif
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
CFLAGS+= -mpreferred-stack-boundary=2
|
||||
.endif
|
||||
|
||||
|
||||
# standalone components and stuff we have modified locally
|
||||
SRCS+= __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \
|
||||
|
Loading…
Reference in New Issue
Block a user