mirror of https://github.com/ipxe/ipxe.git
remove old minorversion!=4 check (added -march a second time)
parent
06eb725cd4
commit
0ebf6cdef4
|
@ -122,10 +122,6 @@ CFLAGS+= -malign-jumps=1 -malign-loops=1 -malign-functions=1
|
||||||
else
|
else
|
||||||
CFLAGS+= -falign-jumps=1 -falign-loops=1 -falign-functions=1
|
CFLAGS+= -falign-jumps=1 -falign-loops=1 -falign-functions=1
|
||||||
endif
|
endif
|
||||||
GCC_MINORVERSION = $(word 2, $(GCC_VERSION))
|
|
||||||
ifneq ($(GCC_MINORVERSION),4)
|
|
||||||
CFLAGS+= -march=i386
|
|
||||||
endif
|
|
||||||
|
|
||||||
# this is almost always a win. the kernel uses it, too.
|
# this is almost always a win. the kernel uses it, too.
|
||||||
CFLAGS+= -mpreferred-stack-boundary=2
|
CFLAGS+= -mpreferred-stack-boundary=2
|
||||||
|
|
Loading…
Reference in New Issue