phantomjs2: Fix compilation when using clang60

This commit is contained in:
Sebastien Lavoie 2019-12-05 13:56:30 +01:00
parent f97746ba27
commit 50915af138
No known key found for this signature in database
GPG Key ID: 706C5F8A43AD63B9

View File

@ -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;