mkvtoolnix: fix build with clang

This commit is contained in:
Mario Rodas 2019-09-17 22:41:28 -05:00
parent 651cd75f6c
commit fa64037b99
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -50,6 +50,8 @@ stdenv.mkDerivation rec {
(enableFeature withGUI "qt") (enableFeature withGUI "qt")
]; ];
CXXFLAGS = optional stdenv.cc.isClang "-std=c++14";
dontWrapQtApps = true; dontWrapQtApps = true;
postFixup = optionalString withGUI '' postFixup = optionalString withGUI ''
wrapQtApp $out/bin/mkvtoolnix-gui wrapQtApp $out/bin/mkvtoolnix-gui