[projects/template-specs] - pass rpmcppflags, too
arekm
arekm at pld-linux.org
Sat Oct 18 16:20:41 CEST 2014
commit 057c1f8a0267d016f9ea4eb934328d00f418bfd1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Oct 18 16:20:38 2014 +0200
- pass rpmcppflags, too
python.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python.spec b/python.spec
index ef039a7..28da060 100644
--- a/python.spec
+++ b/python.spec
@@ -73,14 +73,14 @@ Dokumentacja API %{module}.
%if %{with python2}
# CC/CFLAGS is only for arch packages - remove on noarch packages
CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
+CFLAGS="%{rpmcppflags} %{rpmcflags}" \
%{__python} setup.py build --build-base build-2 %{?with_tests:test}
%endif
%if %{with python3}
# CC/CFLAGS is only for arch packages - remove on noarch packages
CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
+CFLAGS="%{rpmcppflags} %{rpmcflags}" \
%{__python3} setup.py build --build-base build-3 %{?with_tests:test}
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/057c1f8a0267d016f9ea4eb934328d00f418bfd1
More information about the pld-cvs-commit
mailing list