From kde-commits Sun Jul 08 08:57:08 2012 From: =?utf-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 08 Jul 2012 08:57:08 +0000 To: kde-commits Subject: icecream/client Message-Id: <20120708085708.0135BAC7A9 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=134173808911568 SVN commit 1304576 by lunakl: clang knows -frandom-seed, but ignores it M +2 -0 remote.cpp --- trunk/icecream/client/remote.cpp #1304575:1304576 @@ -584,8 +584,10 @@ // older compilers do not support the options we need to make it reproducable #if defined(__GNUC__) && ( ( (__GNUC__ == 3) && (__GNUC_MINOR__ >= 3) ) || (__GNUC__ >=4) ) + if (!compiler_is_clang(job.language())) { if ( rand() % 1000 < permill) torepeat = 3; + } #endif trace() << job.inputFile() << " compiled " << torepeat << " times on " << job.targetPlatform() << "\n";