mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
gem-config: fix grpc build with gcc8
This commit is contained in:
parent
ab354b74c8
commit
62c60f471c
@ -201,7 +201,19 @@ in
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-overflow" "-Wno-error=implicit-fallthrough" ];
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
"-Wno-error=stringop-overflow"
|
||||||
|
"-Wno-error=implicit-fallthrough"
|
||||||
|
"-Wno-error=sizeof-pointer-memaccess"
|
||||||
|
"-Wno-error=cast-function-type"
|
||||||
|
"-Wno-error=class-memaccess"
|
||||||
|
"-Wno-error=ignored-qualifiers"
|
||||||
|
];
|
||||||
|
dontBuild = false;
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace '-Wno-invalid-source-encoding' ""
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
hitimes = attrs: {
|
hitimes = attrs: {
|
||||||
|
Loading…
Reference in New Issue
Block a user