[llvm-commits] [dragonegg] r148398 - in /dragonegg/trunk: extras/do_self_strap src/Backend.cpp

Duncan Sands baldrick at free.fr
Wed Jan 18 11:43:58 PST 2012


Hi Sylvestre,

> Le mercredi 18 janvier 2012 à 16:51 +0000, Duncan Sands a écrit :
>>
>> Modified: dragonegg/trunk/src/Backend.cpp
>> URL:
>> http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Backend.cpp?rev=148398&r1=148397&r2=148398&view=diff
>> ==============================================================================
>> --- dragonegg/trunk/src/Backend.cpp (original)
>> +++ dragonegg/trunk/src/Backend.cpp Wed Jan 18 10:51:08 2012
>> @@ -1993,11 +1993,6 @@
>>   #ifndef DISABLE_VERSION_CHECK
>>   static bool version_check(struct plugin_gcc_version *gcc_version,
>>                             struct plugin_gcc_version *plugin_version)
>> {
>> -  // Make it possible to turn off the version check - useful for
>> testing gcc
>> -  // bootstrap.
>> -  if (getenv("dragonegg_disable_version_check"))
>> -    return true;
>> -
>
> Do you really have to drop it ?
> I am advertising on this feature in Debian since it avoids a new upload
> of clang for every minor release of gcc.

that's a little dangerous.  But if you want it you can compile dragonegg
with DISABLE_VERSION_CHECK=1, aka 'make DISABLE_VERSION_CHECK=1', and then
it won't do any version checking by virtue of the version checking code not
even being compiled in.  In short, I went from a runtime option to a compile
time setting.

Ciao, Duncan.



More information about the llvm-commits mailing list