-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
catimg: fix compilation with gcc-14 #369024
Conversation
pkgs/by-name/ca/catimg/package.nix
Outdated
@@ -17,6 +17,7 @@ stdenv.mkDerivation rec { | |||
}; | |||
|
|||
nativeBuildInputs = [ cmake ]; | |||
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; | |
env = lib.optionalAttrs (stdenv.hostPlatform.libc == "glibc") { | |
CFLAGS = "-D_DEFAULT_SOURCE"; | |
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forced pushed as per your recommendation.
7b090d4
to
961b9e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. tested build on x64 linux
|
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.