packages: calibre/calibre.spec - pass cc/cxx/cflags/ldflags to build script

atler atler at pld-linux.org
Wed Jul 20 22:47:12 CEST 2011


Author: atler                        Date: Wed Jul 20 20:47:12 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pass cc/cxx/cflags/ldflags to build script

---- Files affected:
packages/calibre:
   calibre.spec (1.100 -> 1.101) 

---- Diffs:

================================================================
Index: packages/calibre/calibre.spec
diff -u packages/calibre/calibre.spec:1.100 packages/calibre/calibre.spec:1.101
--- packages/calibre/calibre.spec:1.100	Tue Jul 19 20:05:05 2011
+++ packages/calibre/calibre.spec	Wed Jul 20 22:47:04 2011
@@ -119,6 +119,10 @@
 rm -f resources/localization/locales.zip
 
 %build
+CC=%{__cc} \
+CXX=%{__cxx} \
+OVERRIDE_CFLAGS="%{rpmcflags}" \
+OVERRIDE_LDFLAGS="%{rpmldflags}" \
 %{__python} setup.py build
 
 %install
@@ -205,6 +209,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.101  2011/07/20 20:47:04  atler
+- pass cc/cxx/cflags/ldflags to build script
+
 Revision 1.100  2011/07/19 18:05:05  lisu
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/calibre/calibre.spec?r1=1.100&r2=1.101&f=u



More information about the pld-cvs-commit mailing list