3
0
Fork 0
forked from mirrors/nixpkgs

hhvm: fix build with gcc7

This commit is contained in:
Vladimír Čunát 2018-02-18 18:41:39 +01:00
parent 13ec57e381
commit ba5563b5bc
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -53,6 +53,7 @@ stdenv.mkDerivation rec {
hphp/runtime/ext/std/*.cpp \
hphp/runtime/ext_zend_compat/php-src/main/*.cpp \
hphp/runtime/ext_zend_compat/php-src/main/*.h
sed '1i#include <functional>' -i third-party/mcrouter/src/mcrouter/lib/cycles/Cycles.h
patchShebangs .
'';