aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2015-05-12 17:53:22 +0000
committerEd Maste <emaste@FreeBSD.org>2015-05-12 17:53:22 +0000
commit4d372549102190a97be01c5af96d58f244800b19 (patch)
treed7d6c3466996e1c1c83a134228a7c871894f66ed /Makefile.inc1
parentc3ebe01919baaa1e049b36208e957ae5363db722 (diff)
downloadsrc-4d372549102190a97be01c5af96d58f244800b19.tar.gz
src-4d372549102190a97be01c5af96d58f244800b19.zip
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. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2523
Notes
Notes: svn path=/head/; revision=282821
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 942fad333c7f..3a19fb57481c 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1660,13 +1660,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