]> git.pld-linux.org Git - packages/calibre.git/commitdiff
- pass cc/cxx/cflags/ldflags to build script
authorJan Palus <jan.palus@gmail.com>
Wed, 20 Jul 2011 20:47:04 +0000 (20:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calibre.spec -> 1.101

calibre.spec

index 9761254eba5d48793d56ad3d86c1ac8e3a5c10d7..64560d73c393c2a9aec5da0766b4ca8a73b20965 100644 (file)
@@ -118,6 +118,10 @@ chmod 755 resources/localization/locales/*
 rm -f resources/localization/locales.zip
 
 %build
+CC=%{__cc} \
+CXX=%{__cxx} \
+OVERRIDE_CFLAGS="%{rpmcflags}" \
+OVERRIDE_LDFLAGS="%{rpmldflags}" \
 %{__python} setup.py build
 
 %install
This page took 0.143504 seconds and 4 git commands to generate.