Author: garga (ports committer) Date: Tue Apr 21 15:47:00 2015 New Revision: 281834 URL: https://svnweb.freebsd.org/changeset/base/281834
Log: 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 Modified: stable/10/usr.bin/sort/Makefile Modified: stable/10/usr.bin/sort/Makefile ============================================================================== --- stable/10/usr.bin/sort/Makefile Tue Apr 21 15:00:49 2015 (r281833) +++ stable/10/usr.bin/sort/Makefile Tue Apr 21 15:47:00 2015 (r281834) @@ -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 _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"