Merge pull request #74979 from Shopify/seb-phantomjs2-clang60
phantomjs2: Fix compilation when using clang60
This commit is contained in:
commit
31cf89957a
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ in stdenv.mkDerivation rec {
|
|||
--replace "QT_MINOR_VERSION, 5" "QT_MINOR_VERSION, 9"
|
||||
'';
|
||||
|
||||
# Avoids error in webpage.cpp:80:89:
|
||||
# invalid suffix on literal; C++11 requires a space between litend identifier
|
||||
NIX_CFLAGS_COMPILE = "-Wno-reserved-user-defined-literal";
|
||||
|
||||
__impureHostDeps = stdenv.lib.optional stdenv.isDarwin "/usr/lib/libicucore.dylib";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue