[packages/firejail: 4/4] pass cc/cflags

glen glen at pld-linux.org
Tue Jul 12 13:06:28 CEST 2016


commit 57181a9707816f5bd5f5962feefe59002c7f6599
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jul 12 14:05:34 2016 +0300

    pass cc/cflags

 firejail.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/firejail.spec b/firejail.spec
index cdaa61f..2c05b13 100644
--- a/firejail.spec
+++ b/firejail.spec
@@ -25,7 +25,9 @@ sed -i -e 's#/usr/lib#%{_libdir}#g' etc/disable-devel.inc
 
 %build
 %configure
-%{__make}
+CFLAGS="%{rpmcflags}" \
+%{__make} \
+	CC="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firejail.git/commitdiff/57181a9707816f5bd5f5962feefe59002c7f6599



More information about the pld-cvs-commit mailing list