djgpp_i586, djgpp_i686: migrate to by-name, migrate lowPrio override to by-name#501790
Open
guylamar2006 wants to merge 3 commits intoNixOS:masterfrom
Open
djgpp_i586, djgpp_i686: migrate to by-name, migrate lowPrio override to by-name#501790guylamar2006 wants to merge 3 commits intoNixOS:masterfrom
guylamar2006 wants to merge 3 commits intoNixOS:masterfrom
Conversation
71195d6 to
3f9ea44
Compare
3f9ea44 to
d90d741
Compare
Contributor
Author
|
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.
This pull request restructures and updates the packaging for the DJGPP compiler in Nixpkgs. The main changes include moving and renaming the package for better organization, introducing a new
i686variant, and updating build flags to improve compatibility with older C code and specific dependencies.Package restructuring and new variant:
pkgs/development/compilers/djgpp/default.nixtopkgs/by-name/dj/djgpp_i586/package.nixfor improved organization.djgpp_i686package variant, based ondjgpp_i586, using the"i686"target architecture.Build and compatibility improvements:
stdenvtogccStdenvto ensure the correct build environment and setstdenv = gccStdenvexplicitly.strictflexarrays1hardening flag (in addition toformat) to prevent build failures with old C code.CFLAGS = "-std=gnu17"to force the use of the C17 standard for compatibility with GMP 6.2.1's configure script.Package set cleanup:
pkgs/top-level/all-packages.nixto reference the new package locations and remove the old DJGPP package definitions.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.