patch-1.3.53 linux/arch/i386/Makefile

Next file: linux/arch/i386/config.in
Previous file: linux/arch/alpha/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.52/linux/arch/i386/Makefile linux/arch/i386/Makefile
@@ -46,14 +46,16 @@
 endif
 CFLAGS := $(CFLAGS) -pipe
 
+ifdef CONFIG_M386
+CFLAGS := $(CFLAGS) -m386
+endif
+
 ifdef CONFIG_M486
 CFLAGS := $(CFLAGS) -m486
-else
-ifdef CONFIG_M586
-CFLAGS := $(CFLAGS) -mpentium
-else
-CFLAGS := $(CFLAGS) -m386
 endif
+
+ifdef CONFIG_M586
+CFLAGS := $(CFLAGS) -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2
 endif
 
 ifdef SMP

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this