poppler: fix clang build

This commit is contained in:
Daiderd Jordan 2018-03-22 23:57:38 +01:00
parent e746cbd904
commit 60604acab0
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja pkgconfig ]; nativeBuildInputs = [ cmake ninja pkgconfig ];
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";
cmakeFlags = [ cmakeFlags = [
(mkFlag true "XPDF_HEADERS") (mkFlag true "XPDF_HEADERS")
(mkFlag (!minimal) "GLIB") (mkFlag (!minimal) "GLIB")