gringo: fixup build with gcc 11
This commit is contained in:
parent
c07da190f5
commit
90edec053b
|
@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
|
||||||
--replace \
|
--replace \
|
||||||
"env['LIBPATH'] = []" \
|
"env['LIBPATH'] = []" \
|
||||||
"env['LIBPATH'] = ['${lib.getLib libcxx}/lib']"
|
"env['LIBPATH'] = ['${lib.getLib libcxx}/lib']"
|
||||||
|
'' + ''
|
||||||
|
sed '1i#include <limits>' -i libgringo/gringo/{control,term}.hh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue