poppler: fix v0.61 build with clang

This commit is contained in:
Daiderd Jordan 2018-05-28 16:19:23 +02:00
parent 7e30cfff78
commit e30c7eb5ac
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -32,6 +32,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja pkgconfig ];
# Not sure when and how to pass it. It seems an upstream bug anyway.
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";
cmakeFlags = [
(mkFlag true "XPDF_HEADERS")
(mkFlag (!minimal) "GLIB")