Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make hashes path agnostic for GCC #208

Merged

Commits on Dec 6, 2017

  1. Make hashes path agnostic for GCC

    We now pass -P to the preprocessor, which inhibits the generation
    of linemarkers. This has two positive side effects:
    
      1. Absolute file paths and file names are excluded from the
         preprocessor output, which makes the hash independent of
         the location of the source and build directories.
    
      2. The preprocessing step is slightly faster (in one case it
         was 20% faster) and the preprocessor output is smaller (in
         the aforementioned case the output was 23% smaller) which
         should translate into faster hashing too.
    mbitsnbites committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    75ba45c View commit details
    Browse the repository at this point in the history