jam: set std=c89

jam relies on c89 conventions; this restores the ability to build on recent Darwin.

+3
+3
pkgs/development/tools/build-managers/jam/default.nix
··· 7 7 depsBuildBuild = [ buildPackages.stdenv.cc ]; 8 8 nativeBuildInputs = [ bison ]; 9 9 10 + # Jam uses c89 conventions 11 + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-std=c89"; 12 + 10 13 # Jambase expects ar to have flags. 11 14 preConfigure = '' 12 15 export AR="$AR rc"