[tnftp] Link with system libedit rather than using internal one (#1079639)

David Cantrell dcantrel at fedoraproject.org
Tue Jun 24 20:15:22 UTC 2014


commit 585e74591246f5a510264f19216525316fd1fbd5
Author: David Cantrell <dcantrell at redhat.com>
Date:   Tue Jun 24 16:14:40 2014 -0400

    Link with system libedit rather than using internal one (#1079639)

 tnftp.spec |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/tnftp.spec b/tnftp.spec
index 2066448..1daec58 100644
--- a/tnftp.spec
+++ b/tnftp.spec
@@ -35,10 +35,9 @@ rm -rf libedit
 autoreconf -i
 
 %build
-%configure --enable-editcomplete \
-           --enable-ipv6 \
-           --enable-ssl
-make
+env CFLAGS=-D_GNU_SOURCE %configure \
+    --enable-editcomplete --enable-ipv6 --enable-ssl
+make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot}


More information about the scm-commits mailing list