diff options
author | garga <garga@FreeBSD.org> | 2015-04-21 15:47:00 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2015-04-21 15:47:00 +0000 |
commit | ae09e2fca26e6b03cb660a7ff6fd40d039491775 (patch) | |
tree | 46f401c92dc40a0bcac87c6fc0ff24b0442866a3 /usr.bin/sort | |
parent | aba8da87cbda22c9d9208d7db4db3a3f5a30728a (diff) | |
download | FreeBSD-src-ae09e2fca26e6b03cb660a7ff6fd40d039491775.zip FreeBSD-src-ae09e2fca26e6b03cb660a7ff6fd40d039491775.tar.gz |
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
Diffstat (limited to 'usr.bin/sort')
-rw-r--r-- | usr.bin/sort/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sort/Makefile b/usr.bin/sort/Makefile index ea68c45..60925f9 100644 --- a/usr.bin/sort/Makefile +++ b/usr.bin/sort/Makefile @@ -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 |