Merge pull request #269034 from a-n-n-a-l-e-e/lp_solver-fix

lp_solve: ignore implicit int warnings
This commit is contained in:
Robert Scott 2023-11-26 16:41:43 +00:00 committed by GitHub
commit ba608c6c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,12 @@ stdenv.mkDerivation rec {
autoSignDarwinBinariesHook
];
env = {
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int";
} // lib.optionalAttrs (stdenv.isDarwin && stdenv.isx86_64) {
NIX_LDFLAGS = "-headerpad_max_install_names";
};
dontConfigure = true;
buildPhase =