Repository navigation
stdenv: make -nostdinc work as intended - #91974
Merged
Merged
Conversation
Mic92
commented
Jul 1, 2020
9 tasks
Mic92
marked this pull request as draft
July 1, 2020 22:06
Mic92
force-pushed
the
nostdinc
branch
3 times, most recently
from
July 2, 2020 09:14
b78a55d to
d4f4506
Compare
Mic92
marked this pull request as ready for review
July 2, 2020 09:41
Member
Author
|
Until this hits master, the following solution also works: |
Member
Author
|
@GrahamcOfBorg build stdenv |
Member
|
Oh this looks great to me; I had tried something similar at one point when adding those new files. Do note when you fix conflicts that we now touch all the flags files so downstream can unconditionally cat them. |
Member
|
CC @aaronjanse just in case anything special needs to be done for relibc's crt0. |
Mic92
commented
Jul 22, 2020
Ericson2314
reviewed
Jul 23, 2020
Member
I don't know enough to understand this PR well, but I've locally verified that these changes don't break relibc 👍 |
Right now we add glibc to search path also -nostdinc was provided, which breaks projects providing their own gcc.
matthewbauer
approved these changes
Jul 28, 2020
Member
|
Oh i missed the conflicts were fixed. Let's ship! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Right now we add glibc to search path also -nostdinc was provided,
which breaks projects providing their own gcc.
Motivation for this change
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)