- 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 13cb116..10ea225 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.049008 seconds and 4 git commands to generate.