patch-2.3.50 linux/arch/i386/Makefile
Next file: linux/arch/i386/boot/compressed/Makefile
Previous file: linux/arch/arm/boot/compressed/Makefile
Back to the patch index
Back to the overall index
-  Lines: 15
-  Date:
Tue Mar  7 11:04:12 2000
-  Orig file: 
v2.3.49/linux/arch/i386/Makefile
-  Orig date: 
Fri Jan 28 15:09:06 2000
diff -u --recursive --new-file v2.3.49/linux/arch/i386/Makefile linux/arch/i386/Makefile
@@ -21,12 +21,10 @@
 LDFLAGS=-e stext
 LINKFLAGS =-T $(TOPDIR)/arch/i386/vmlinux.lds $(LDFLAGS)
 
-CFLAGS_PIPE := -pipe
+CFLAGS += -pipe
 
 # only work around strength reduction bug(s) on older gcc versions
-CFLAGS_NSR  := $(shell if $(CC) -march=i486 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo ""; else echo "-fno-strength-reduce"; fi)
-
-CFLAGS := $(CFLAGS) $(CFLAGS_PIPE) $(CFLAGS_NSR)
+CFLAGS += $(shell if ! $(CC) -march=i486 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-fno-strength-reduce"; fi)
 
 # prevent gcc from keeping the stack 16 byte aligned
 CFLAGS += $(shell if $(CC) -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-mpreferred-stack-boundary=2"; fi)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)