commit 1970f8b1ccae85a24f0ce94630924c1b6e23d090
Author: Jan Rękorajski <bagg...@pld-linux.org>
Date:   Sun Jul 13 19:38:04 2014 +0200

    - there's no need to pass CC/CXX to make

 ice.spec | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/ice.spec b/ice.spec
index 7f92db4..77dbc65 100644
--- a/ice.spec
+++ b/ice.spec
@@ -185,17 +185,12 @@ sed -i -e 's,/usr/share/Ice-%{version},%{_datadir}/Ice,' 
cpp/src/ca/iceca Ice-rp
 sed -i -e 's,c++,%{__cxx},g' cpp/config/Make.rules.Linux
 
 %build
-# Compile the main Ice runtime
-# TODO: CC/CXX passing as make param breaks build system
-
 %if %{with java}
 # Rebuild the Java ImportKey class - need it early for main cpp build
 javac cpp/src/ca/ImportKey.java
 %endif
 
 %{__make} -j1 -C cpp \
-       CC="%{__cc}" \
-       CXX="%{__cxx}" \
        CFLAGS="%{rpmcflags} -fPIC" \
        CXXFLAGS="%{rpmcxxflags} -fPIC" \
        embedded_runpath_prefix=""
@@ -208,7 +203,6 @@ rm temp*.png
 %endif
 
 %if %{with java}
-
 # Set the CLASSPATH correctly for the Java compile
 export CLASSPATH=$(build-classpath db jgoodies-forms jgoodies-looks)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ice.git/commitdiff/1970f8b1ccae85a24f0ce94630924c1b6e23d090

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to