]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- pass CC
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 17 Jul 2010 19:56:25 +0000 (19:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python.spec -> 1.18

python.spec

index 5f59c6ce0f9b50531473fe26ce57428aeb493011..2616eb16ffe2e92f431d553a76d541279cadf710 100644 (file)
@@ -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
This page took 0.341373 seconds and 4 git commands to generate.