summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-08-28 15:03:11 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-08-28 15:03:11 +0000
commit02bb2a078e660547225bc1483d9f7c6905f38360 (patch)
tree6f62d65d97c2f4f6ca7d2240978557bd1c5e084e /Makefile.inc1
parenta5c8d0424be1b289a1d47240266c6ad9ff009f58 (diff)
downloadFreeBSD-src-02bb2a078e660547225bc1483d9f7c6905f38360.zip
FreeBSD-src-02bb2a078e660547225bc1483d9f7c6905f38360.tar.gz
Repair some build breakage introduced in r211725 and garbage collect some
code made obsolete in the same commit.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 53b43a9..ef732de 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1133,8 +1133,8 @@ _prereq_libs= gnu/lib/libssp/libssp_nonshared gnu/lib/libgcc
_startup_libs= gnu/lib/csu
.if exists(${.CURDIR}/lib/csu/${MACHINE_ARCH}-elf)
_startup_libs+= lib/csu/${MACHINE_ARCH}-elf
-.elif exists(${.CURDIR}/lib/csu/${MACHINE_CPUARCH}-elf)
-_startup_libs+= lib/csu/${MACHINE_CPUARCH}-elf
+.elif exists(${.CURDIR}/lib/csu/${MACHINE_ARCH})
+_startup_libs+= lib/csu/${MACHINE_ARCH}
.else
_startup_libs+= lib/csu/${MACHINE_CPUARCH}
.endif
OpenPOWER on IntegriCloud