From: Elan Ruusamäe Date: Sat, 17 Jul 2010 19:56:25 +0000 (+0000) Subject: - pass CC X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=4609490597e33c1be469f9e90512cd9ead66b0d3;p=projects%2Ftemplate-specs.git - pass CC Changed files: python.spec -> 1.18 --- diff --git a/python.spec b/python.spec index 5f59c6c..2616eb1 100644 --- a/python.spec +++ b/python.spec @@ -26,8 +26,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %setup -q -n %{module}-%{version} %build -# CFLAGS is only for arch packages - remove on noarch packages -export CFLAGS="%{rpmcflags}" +# CC/CFLAGS is only for arch packages - remove on noarch packages +CC="%{__cc}" \ +CFLAGS="%{rpmcflags}" \ %{__python} setup.py build %install