poppler: fix clang build
This commit is contained in:
parent
e746cbd904
commit
60604acab0
@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ninja pkgconfig ];
|
||||
|
||||
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";
|
||||
|
||||
cmakeFlags = [
|
||||
(mkFlag true "XPDF_HEADERS")
|
||||
(mkFlag (!minimal) "GLIB")
|
||||
|
Loading…
Reference in New Issue
Block a user