mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
poppler: fix build on darwin
This commit is contained in:
parent
beaf69cee2
commit
2a68c2c413
@ -34,7 +34,7 @@ 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";
|
||||
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++14";
|
||||
|
||||
cmakeFlags = [
|
||||
(mkFlag true "XPDF_HEADERS")
|
||||
|
Loading…
Reference in New Issue
Block a user