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

cffi: Use the distutils preprocessor when available #179

Closed
wants to merge 1 commit into from

Commits on Jul 21, 2022

  1. cffi: Use the distutils preprocessor when available

    On Unix like systems, distutils will usually set the preprocessor
    attribute to the appropriate command. On MSVC it never sets the
    preprocessor, though. In either case, try to use it and only fallback to
    using the compiler if needed. Using compiler.compiler[0] breaks use of
    ccache when inserted in the CC environment variable.
    
    This is a regression from 0d1329a.
    
    Closes indygreg#178.
    dbnicholson committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    ccb555d View commit details
    Browse the repository at this point in the history