poppler: fix evaluation, probably after merges

This commit is contained in:
Vladimír Čunát 2018-03-24 14:56:15 +01:00
parent 38d6699a93
commit 6dbb6a380b
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -32,6 +32,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";
cmakeFlags = [
@ -43,9 +44,6 @@ stdenv.mkDerivation rec {
(mkFlag qt5Support "QT5")
];
# Not sure when and how to pass it. It seems an upstream bug anyway.
CXXFLAGS = if stdenv.cc.isClang then [ "-std=c++11" ] else null;
meta = with lib; {
homepage = https://poppler.freedesktop.org/;
description = "A PDF rendering library";