[packages/macfanctld] pass CC, CFLAGS

glen glen at pld-linux.org
Thu Feb 7 12:29:39 CET 2013


commit ff2433d5e0a84bb71730619b6e5f9dcf3d3b63e6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Feb 7 13:29:36 2013 +0200

    pass CC, CFLAGS

 macfanctld.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/macfanctld.spec b/macfanctld.spec
index 5f8df5d..5f32a8e 100644
--- a/macfanctld.spec
+++ b/macfanctld.spec
@@ -32,7 +32,9 @@ mv %{name}-*/* .
 cp -p %{SOURCE1} .
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/macfanctld.git/commitdiff/ff2433d5e0a84bb71730619b6e5f9dcf3d3b63e6



More information about the pld-cvs-commit mailing list