mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 17:52:43 +00:00
Replace LDFLAGS by LDADD to fix sort build with -DNO_SHARED
Differential Revision: https://reviews.freebsd.org/D2044 Reviewed by: sbruno@ Approved by: sbruno@ Sponsored by: Netgate
This commit is contained in:
parent
ce73d0723f
commit
5120b8ee0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=281834
@ -13,10 +13,10 @@ CLEANFILES+= sort.1
|
||||
|
||||
.if defined(WITH_THREADS)
|
||||
CFLAGS+= -DSORT_THREADS
|
||||
LDFLAGS+= -lpthread -lmd
|
||||
LDADD+= -lpthread -lmd
|
||||
MAN_SUB+= -e 's|%%THREADS%%||g'
|
||||
.else
|
||||
LDFLAGS+= -lmd
|
||||
LDADD+= -lmd
|
||||
MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user