libpar2: fix clang build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan 2018-03-12 21:23:34 +01:00
parent 0fdbf3edeb
commit 4ba61cd136
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
patches = [ ./libpar2-0.4-external-verification.patch ]; patches = [ ./libpar2-0.4-external-verification.patch ];
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";
meta = { meta = {
homepage = http://parchive.sourceforge.net/; homepage = http://parchive.sourceforge.net/;
license = stdenv.lib.licenses.gpl2Plus; license = stdenv.lib.licenses.gpl2Plus;