From kde-commits Thu Sep 22 07:53:35 2011 From: Oswald Buddenhagen Date: Thu, 22 Sep 2011 07:53:35 +0000 To: kde-commits Subject: icecream/client Message-Id: <20110922075336.027EBAC883 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=131667803519378 SVN commit 1254982 by ossi: fix gcc 4.6 support for debian, take 2 the fix for debian (and derivates) is mutually exclusive with everythinge else, so support both variants. M +4 -0 icecc-create-env --- trunk/icecream/client/icecc-create-env #1254981:1254982 @@ -120,6 +120,10 @@ 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 + # This is for Debian + plugin=`$added_gcc -print-file-name=$plugin_name` +fi if test -n "$plugin" && test "$plugin" != "$plugin_name" && test -e "$plugin"; then add_file "$plugin" "$plugin" fi