libsForQt5.liblastfm: revert addition of flags on darwin

Apparently on x86_64-darwin there are also C files compiled,
and that doesn't go well with -std=c++*
https://hydra.nixos.org/build/174111870
Fortunately the flag only seems needed with gcc 11 so far.

+4 -1
+4 -1
pkgs/development/libraries/liblastfm/default.nix
··· 23 23 buildInputs = [ fftwSinglePrec libsamplerate qtbase ] 24 24 ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration; 25 25 26 - NIX_CFLAGS_COMPILE = [ "-std=c++11" ]; 26 + NIX_CFLAGS_COMPILE = 27 + lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [ 28 + "-std=c++11" 29 + ]; 27 30 28 31 dontWrapQtApps = true; 29 32