From: twittner Date: Sat, 10 Dec 2005 14:54:28 +0000 (+0000) Subject: - pass to make C/C++ compilers througth CC and CXX X-Git-Tag: auto/th/CocoR-1_17-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2FCocoR.git;a=commitdiff_plain;h=a5408a5203335036af9df2f81dc527c4da0e7345 - pass to make C/C++ compilers througth CC and CXX Changed files: CocoR.spec -> 1.11 --- diff --git a/CocoR.spec b/CocoR.spec index 13cb116..10ea225 100644 --- a/CocoR.spec +++ b/CocoR.spec @@ -25,8 +25,14 @@ export CRFRAMES=`pwd`/frames uudecode dos2unix.uue chmod +x dos2unix.sh ./dos2unix.sh unix.mk -%{__make} -f unix.mk dos2unix OPTFLAGS="%{rpmcflags}" -%{__make} -f unix.mk linux OPTFLAGS="%{rpmcflags}" +%{__make} -f unix.mk dos2unix \ + CC="%{__cc}" \ + CXX="%{__cxx}" \ + OPTFLAGS="%{rpmcflags}" +%{__make} -f unix.mk linux \ + CC="%{__cc}" \ + CXX="%{__cxx}" \ + OPTFLAGS="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT