torque: fix build w/gcc7
This commit is contained in:
parent
8332b7aef9
commit
db2b306747
@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# added to fix build with gcc7
|
||||
NIX_CFLAGS_COMPILE = [ "-fpermissive" ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace ./configure \
|
||||
--replace '/usr/bin/file' '${file}/bin/file'
|
||||
|
Loading…
Reference in New Issue
Block a user