summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-04-02 06:58:17 +0000
committerdim <dim@FreeBSD.org>2015-04-02 06:58:17 +0000
commitfd4e4ae1474b54b3438741fda6a45dfd954c2ab1 (patch)
tree30c79973bafd01648519db87bc5e6dd1ff5e7ef3 /lib/csu
parent891b87e2c5d34be663ec78eaab42e869f8d12a5e (diff)
downloadFreeBSD-src-fd4e4ae1474b54b3438741fda6a45dfd954c2ab1.zip
FreeBSD-src-fd4e4ae1474b54b3438741fda6a45dfd954c2ab1.tar.gz
Ensure the cross assembler, linker and objcopy are used for the build32
stage, just like for the regular world stage. Reviewed by: rodrigc, imp, bapt, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D2187
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/i386-elf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile
index 57f4f05..d5ca479 100644
--- a/lib/csu/i386-elf/Makefile
+++ b/lib/csu/i386-elf/Makefile
@@ -35,7 +35,7 @@ crt1_c.o: crt1_c.s
crt1.o: crt1_c.o crt1_s.o
${LD} ${_LDFLAGS} -o crt1.o -r crt1_s.o crt1_c.o
- objcopy --localize-symbol _start1 crt1.o
+ ${OBJCOPY} --localize-symbol _start1 crt1.o
Scrt1_c.s: crt1_c.c
${CC} ${CFLAGS} -fPIC -DPIC -S -o ${.TARGET} ${.CURDIR}/crt1_c.c
@@ -46,7 +46,7 @@ Scrt1_c.o: Scrt1_c.s
Scrt1.o: Scrt1_c.o crt1_s.o
${LD} ${_LDFLAGS} -o Scrt1.o -r crt1_s.o Scrt1_c.o
- objcopy --localize-symbol _start1 Scrt1.o
+ ${OBJCOPY} --localize-symbol _start1 Scrt1.o
realinstall:
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
OpenPOWER on IntegriCloud