Fix up building with gcc 4.0.1 / gas 2.16.91
[gpxe.git] / src / arch / i386 / Config
index db80b38..03836c8 100644 (file)
@@ -133,7 +133,7 @@ CFLAGS+=    -falign-jumps=1 -falign-loops=1 -falign-functions=1
 endif
 GCC_MINORVERSION = $(word 2, $(GCC_VERSION))
 ifneq ($(GCC_MINORVERSION),4)
-CFLAGS+=       -mcpu=i386
+CFLAGS+=       -march=i386
 endif
 
 LDFLAGS+=      -N