[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: icecream/client
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2012-05-07 17:50:48
Message-ID: 20120507175048.6F719AC89D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1293416 by lunakl:
make ICECC_CC/CXX work again
I guess I got a bit carried away, if it's been explicitly specified to override
the compiler to use, it should override everything.
M +8 -0 local.cpp
--- trunk/icecream/client/local.cpp #1293415:1293416
@@ -125,6 +125,14 @@
string find_compiler( const CompileJob& job )
{
+ if (job.language() == CompileJob::Lang_C) {
+ if (const char* env = getenv( "ICECC_CC" ))
+ return env;
+ }
+ if (job.language() == CompileJob::Lang_CXX) {
+ if (const char* env = getenv ("ICECC_CXX"))
+ return env;
+ }
return path_lookup(job.compilerName());
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic