mirror of https://github.com/ipxe/ipxe.git
Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win.
parent
bfc4737751
commit
4ff85d9f15
|
@ -136,6 +136,9 @@ ifneq ($(GCC_MINORVERSION),4)
|
||||||
CFLAGS+= -march=i386
|
CFLAGS+= -march=i386
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# this is almost always a win. the kernel uses it, too.
|
||||||
|
CFLAGS+= -mpreferred-stack-boundary=2
|
||||||
|
|
||||||
LDFLAGS+= -N
|
LDFLAGS+= -N
|
||||||
|
|
||||||
ifeq "$(shell uname -s)" "FreeBSD"
|
ifeq "$(shell uname -s)" "FreeBSD"
|
||||||
|
|
Loading…
Reference in New Issue