patch-1.3.34 linux/arch/alpha/boot/Makefile

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

diff -u --recursive --new-file v1.3.33/linux/arch/alpha/boot/Makefile linux/arch/alpha/boot/Makefile
@@ -8,10 +8,13 @@
 # Copyright (C) 1994 by Linus Torvalds
 #
 
+ifdef CONFIG_CROSSCOMPILE
 # enable this for linking under OSF/1:
-#LINKFLAGS = -non_shared -T 0x20000000 -N
+LINKFLAGS = -non_shared -T 0x20000000 -N
+else
 # enable this for linking under Linux:
 LINKFLAGS = -static -T bootloader.lds -N 
+endif
 
 .S.s:
 	$(CC) -D__ASSEMBLY__ -traditional -E -o $*.o $<

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