summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-12-16 16:40:45 +0000
committeremaste <emaste@FreeBSD.org>2015-12-16 16:40:45 +0000
commitfa6577ca641a1bdfdbfcf570b90dbad48204222c (patch)
tree59e0b2a47b63d855cd12c90b1c1bdf679b36f481 /Makefile.inc1
parent2553d019b444ee551f86408b641625151410c50b (diff)
downloadFreeBSD-src-fa6577ca641a1bdfdbfcf570b90dbad48204222c.zip
FreeBSD-src-fa6577ca641a1bdfdbfcf570b90dbad48204222c.tar.gz
MFC r282821: Remove redundant csu subdir logic
The appropriate subdirectories are handled by lib/csu/Makefile. There's no need to duplicate this logic in Makefile.inc1 and lib/Makefile. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 1 insertions, 7 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 828141f..1dd74c1 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1617,13 +1617,7 @@ _prereq_libs= gnu/lib/libssp/libssp_nonshared gnu/lib/libgcc lib/libcompiler_rt
# 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
-.elif exists(${.CURDIR}/lib/csu/${MACHINE_ARCH})
-_startup_libs+= lib/csu/${MACHINE_ARCH}
-.else
-_startup_libs+= lib/csu/${MACHINE_CPUARCH}
-.endif
+_startup_libs+= lib/csu
_startup_libs+= gnu/lib/libgcc
_startup_libs+= lib/libcompiler_rt
_startup_libs+= lib/libc
OpenPOWER on IntegriCloud