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

Fix parallel builds w/ LTO on systems where make is not GNU make. #13955

Merged
merged 1 commit into from
Nov 5, 2021

Commits on Aug 10, 2021

  1. Fix parallel builds w/ LTO on systems where make is not GNU make.

    When compiling with LTO, the lto-wrapper of GCC will detect the presence
    of parallelism via the environment, and either call $MAKE or simply
    `make` (and the detection of a jobserver messes this up for FreeBSD).
    
    On FreeBSD and other systems, you have to build with `gmake` and the
    way to have lto-wrapper use the same make(1) is to pass it via the
    environment.
    
    This fixes the (parallel) linking when LTO is active under FreeBSD.
    uqs committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    a57d336 View commit details
    Browse the repository at this point in the history