]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- pass rpmcppflags, too
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 18 Oct 2014 14:20:38 +0000 (16:20 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 18 Oct 2014 14:20:38 +0000 (16:20 +0200)
python.spec

index ef039a77cf224423d1c65ce5bc8147dc7ee48f69..28da060f9d49658a25775cd7d495ae0f31a2d27f 100644 (file)
@@ -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
 
This page took 0.079407 seconds and 4 git commands to generate.