Kaydet (Commit) 2c453747 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

dont mindlessly touch the icc-header file on every build

- this little gremlin touches the header file everytime it is run
- as icc is very low level, this causes a lot of pointless rebuild
- everything from vcl up gets relinked
- this slows every empty 'make build' down by more than 40 percent
- would really need to check if the file changed before writing, but as we
  rarely change icc itself, I didnt bother with that
üst d3c77222
......@@ -474,6 +474,11 @@ int main(int argc, char* argv[])
profile.Write(&out);
out.Close();
if(FILE *headerfile_exists = fopen(hxx_file_name,"r"))
{
fclose(headerfile_exists);
exit(0);
}
FILE *headerfile = fopen(hxx_file_name,"w");
//print OpenOffice standard file header
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment