]> git.pld-linux.org Git - packages/CocoR.git/commitdiff
- pass to make C/C++ compilers througth CC and CXX
authortwittner <twittner@pld-linux.org>
Sat, 10 Dec 2005 14:54:28 +0000 (14:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    CocoR.spec -> 1.11

CocoR.spec

index 13cb11640c02e38c85c136d2d2c2460715b98833..10ea22522b5b7316c4a4ee0b32a24b821d85c279 100644 (file)
@@ -25,8 +25,14 @@ export CRFRAMES=`pwd`/frames
 uudecode dos2unix.uue
 chmod +x dos2unix.sh
 ./dos2unix.sh unix.mk
 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
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.078659 seconds and 4 git commands to generate.