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

David Cantrell dcantrel at fedoraproject.org
Wed Jun 25 12:18:53 UTC 2014


commit bc89efae5529aff31e1990db0aaefaec6f131bf6
Author: David Cantrell <dcantrell at redhat.com>
Date:   Wed Jun 25 08:12:51 2014 -0400

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

 tnftp.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tnftp.spec b/tnftp.spec
index 4b184ad..e289fc7 100644
--- a/tnftp.spec
+++ b/tnftp.spec
@@ -35,7 +35,7 @@ rm -rf libedit
 autoreconf -i
 
 %build
-env CFLAGS=-D_GNU_SOURCE %configure \
+env CFLAGS="%{optflags} -D_GNU_SOURCE" %configure \
     --enable-editcomplete --enable-ipv6 --enable-ssl
 ln -s ../tnftp.h libnetbsd/tnftp.h
 ln -s ../tnftp.h src/tnftp.h


More information about the scm-commits mailing list