mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 10:30:32 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user