mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
openafs: fix build against linux_hardened
See https://hydra.nixos.org/build/86750041 and https://hydra.nixos.org/build/86749971
This commit is contained in:
parent
e6538caa48
commit
4bb0a719cf
@ -15,6 +15,9 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
||||||
|
# The RANDSTRUCT gcc plugin rewrites structs using designated initializers
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=designated-init" ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-linux-kernel-build=${kernelBuildDir}"
|
"--with-linux-kernel-build=${kernelBuildDir}"
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
|
@ -18,6 +18,9 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
||||||
|
# The RANDSTRUCT gcc plugin rewrites structs using designated initializers
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=designated-init" ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-linux-kernel-build=${kernelBuildDir}"
|
"--with-linux-kernel-build=${kernelBuildDir}"
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
|
Loading…
Reference in New Issue
Block a user