patch-1.3.34 linux/arch/alpha/Makefile

Next file: linux/arch/alpha/boot/Makefile
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.33/linux/arch/alpha/Makefile linux/arch/alpha/Makefile
@@ -10,10 +10,15 @@
 
 NM := nm -B
 
+ifdef CONFIG_CROSSCOMPILE
 # enable this for linking under OSF/1:
-#LINKFLAGS = -non_shared -T 0xfffffc0000310000 -N
+LINKFLAGS = -non_shared -T 0xfffffc0000310000 -N
+else
 # enable this for linking under Linux:
 LINKFLAGS = -static -T arch/alpha/vmlinux.lds -N
+# GNU gcc/cc1/as can use pipes instead of temporary files
+CFLAGS := $(CFLAGS) -pipe
+endif
 
 CFLAGS := $(CFLAGS) -mno-fp-regs
 

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