]> git.pld-linux.org Git - packages/CocoR.git/blobdiff - CocoR.spec
- pass to make C/C++ compilers througth CC and CXX
[packages/CocoR.git] / 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
-%{__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
This page took 0.040409 seconds and 4 git commands to generate.