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

List:       kde-commits
Subject:    icecream/client
From:       André Wöbbeking <woebbeking () kde ! org>
Date:       2008-05-23 13:29:05
Message-ID: 1211549345.831592.11326.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 811594 by woebbe:

don't compile C files with C++ compile if ICECC_CXX is set


 M  +4 -3      local.cpp  


--- trunk/icecream/client/local.cpp #811593:811594
@@ -56,10 +56,11 @@
     if ( (env = getenv( "ICECC_CC" )) )
         compiler_name = env;
 
-    if (lang == CompileJob::Lang_CXX)
+    if (lang == CompileJob::Lang_CXX) {
         compiler_name = "g++";
-    if ((env = getenv ("ICECC_CXX")))
-        compiler_name = env;
+        if ((env = getenv ("ICECC_CXX")))
+            compiler_name = env;
+    }
 
     return compiler_name;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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