[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/client
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2011-09-22 7:53:35
Message-ID: 20110922075336.027EBAC883 () svn ! kde ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic