mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
libc: don't directly link libsys
It is sufficent to add it as a filter. Reported by: kib Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D43781
This commit is contained in:
parent
b8afdda360
commit
49076f376a
|
@ -62,7 +62,6 @@ CFLAGS+= -ftls-model=initial-exec
|
||||||
#
|
#
|
||||||
LDFLAGS+= -nodefaultlibs
|
LDFLAGS+= -nodefaultlibs
|
||||||
LIBADD+= compiler_rt
|
LIBADD+= compiler_rt
|
||||||
LIBADD+= sys
|
|
||||||
|
|
||||||
LDFLAGS+=-Wl,--auxiliary,libsys.so.7
|
LDFLAGS+=-Wl,--auxiliary,libsys.so.7
|
||||||
|
|
||||||
|
|
|
@ -393,7 +393,7 @@ _DP_xo= util
|
||||||
_DP_ztest= geom m nvpair umem zpool pthread avl zfs_core spl zutil zfs uutil icp
|
_DP_ztest= geom m nvpair umem zpool pthread avl zfs_core spl zutil zfs uutil icp
|
||||||
# The libc dependencies are not strictly needed but are defined to make the
|
# The libc dependencies are not strictly needed but are defined to make the
|
||||||
# assert happy.
|
# assert happy.
|
||||||
_DP_c= sys compiler_rt
|
_DP_c= compiler_rt
|
||||||
# Use libssp_nonshared only on i386 and power*. Other archs emit direct calls
|
# Use libssp_nonshared only on i386 and power*. Other archs emit direct calls
|
||||||
# to __stack_chk_fail, not __stack_chk_fail_local provided by libssp_nonshared.
|
# to __stack_chk_fail, not __stack_chk_fail_local provided by libssp_nonshared.
|
||||||
.if ${MK_SSP} != "no" && \
|
.if ${MK_SSP} != "no" && \
|
||||||
|
|
Loading…
Reference in a new issue