Merge pull request #36820 from xeji/p/torque

torque: fix build with gcc7
This commit is contained in:
Franz Pletz 2018-03-12 23:29:36 +00:00 committed by GitHub
commit 6a5cb56ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
# added to fix build with gcc7
NIX_CFLAGS_COMPILE = [ "-fpermissive" ];
preConfigure = '' preConfigure = ''
substituteInPlace ./configure \ substituteInPlace ./configure \
--replace '/usr/bin/file' '${file}/bin/file' --replace '/usr/bin/file' '${file}/bin/file'