[packages/atop] pass ldflags, drop ncurses hack

glen glen at pld-linux.org
Tue Jun 2 21:18:16 CEST 2015


commit b5153f91b38514d7aa30c7f4185aaf1e70f710c6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jun 2 22:18:05 2015 +0300

    pass ldflags, drop ncurses hack

 atop.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/atop.spec b/atop.spec
index 289cc62..f000df3 100644
--- a/atop.spec
+++ b/atop.spec
@@ -39,7 +39,8 @@ również które procesy są odpowiedzialne za generowane obciążenie
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
+	LDFLAGS="%{rpmldflags}" \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/atop.git/commitdiff/b5153f91b38514d7aa30c7f4185aaf1e70f710c6



More information about the pld-cvs-commit mailing list