summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-06-24 17:53:25 +0000
committerimp <imp@FreeBSD.org>2010-06-24 17:53:25 +0000
commite02fe12ea6d0bd6499a10a6ac3a7a53177fc4341 (patch)
treedaeb1c35a815e6a7b80349a67a3a93e7a79f5578 /Makefile.inc1
parent285328259a9e9e91e130d866575ceadf7ba40563 (diff)
downloadFreeBSD-src-e02fe12ea6d0bd6499a10a6ac3a7a53177fc4341.zip
FreeBSD-src-e02fe12ea6d0bd6499a10a6ac3a7a53177fc4341.tar.gz
Merge from tbemd:
use MACHINE_CPUARCH instead of MACHINE_CPU since the sources for the CSU is based on MACHINE_CPUARCH Reviewed by: arch@ (twice)
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc16
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 1c34918..d292ea9 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1108,10 +1108,10 @@ _prereq_libs= gnu/lib/libssp/libssp_nonshared gnu/lib/libgcc
# all shared libraries for ELF.
#
_startup_libs= gnu/lib/csu
-.if exists(${.CURDIR}/lib/csu/${MACHINE_ARCH}-elf)
-_startup_libs+= lib/csu/${MACHINE_ARCH}-elf
+.if exists(${.CURDIR}/lib/csu/${MACHINE_CPUARCH}-elf)
+_startup_libs+= lib/csu/${MACHINE_CPUARCH}-elf
.else
-_startup_libs+= lib/csu/${MACHINE_ARCH}
+_startup_libs+= lib/csu/${MACHINE_CPUARCH}
.endif
_startup_libs+= gnu/lib/libgcc
_startup_libs+= lib/libc
OpenPOWER on IntegriCloud