Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2015 15:47:00 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r281834 - stable/10/usr.bin/sort
Message-ID:  <201504211547.t3LFl0wR047903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504211547.t3LFl0wR047903>