coan: fix build on darwin

The configure script was failing because the `-std=c++11` flag was used
when trying to compile C.

Set the flag with CXXFLAGS instead.
This commit is contained in:
Sebastián Mancilla 2022-07-10 00:04:01 -04:00
parent de5b3dd170
commit f170b3aebc

View File

@ -11,9 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl ];
NIX_CFLAGS_COMPILE = [
"-std=c++11"
];
CXXFLAGS = "-std=c++11";
enableParallelBuilding = true;
@ -22,7 +20,6 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
broken = stdenv.isDarwin;
description = "The C preprocessor chainsaw";
longDescription = ''
A software engineering tool for analysing preprocessor-based