david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win.

This commit is contained in:
Holger Lubitz 2007-06-17 22:16:31 +02:00 committed by Michael Brown
parent bfc4737751
commit 4ff85d9f15
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ ifneq ($(GCC_MINORVERSION),4)
CFLAGS+= -march=i386
endif
# this is almost always a win. the kernel uses it, too.
CFLAGS+= -mpreferred-stack-boundary=2
LDFLAGS+= -N
ifeq "$(shell uname -s)" "FreeBSD"