From kde-commits Fri Sep 14 13:32:48 2012 From: =?utf-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 14 Sep 2012 13:32:48 +0000 To: kde-commits Subject: icecream/client Message-Id: <20120914133248.1B585AC7CB () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=134762957715211 SVN commit 1316308 by lunakl: do not use gcc when creating env.tarball for clang M +5 -2 icecc-create-env --- trunk/icecream/client/icecc-create-env #1316307:1316308 @@ -166,6 +166,8 @@ add_file "$specfile" fi + add_file $($added_gcc -print-prog-name=as) /usr/bin/as + plugin_name=liblto_plugin.so plugin=`$added_gcc -print-prog-name=$plugin_name` if test -z "$plugin" || test "$plugin" = "$plugin_name" || ! test -e "$plugin"; then @@ -184,6 +186,9 @@ # depending on an extra argument added by icecream. add_file $added_compilerwrapper /usr/bin/gcc add_file $added_compilerwrapper /usr/bin/g++ + + add_file $($added_clang -print-prog-name=as) /usr/bin/as + # clang always uses its internal .h files clangincludes=$(dirname $($added_clang -print-file-name=include/limits.h)) clangprefix=$(dirname $(dirname $added_clang)) @@ -196,8 +201,6 @@ done fi -add_file $($added_gcc -print-prog-name=as) /usr/bin/as - for extrafile in $extrafiles; do add_file $extrafile done