mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
dieharder: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: include/dieharder/parse.h:21: multiple definition of `splitbuf'; include/dieharder/parse.h:21: first defined here
This commit is contained in:
parent
88e0f07bd6
commit
dcb168b109
@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
|
||||
./stdint.patch
|
||||
];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: include/dieharder/parse.h:21: multiple definition of `splitbuf';
|
||||
# include/dieharder/parse.h:21: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
buildInputs = [ gsl ];
|
||||
|
||||
passthru = {
|
||||
|
Loading…
Reference in New Issue
Block a user