Merge pull request #310542 from rrbutani/fix/ucl-darwin

ucl: fix on Darwin/with `pkgsLLVM`

authored by Weijia Wang and committed by GitHub 24ebca45 6f048ef5

+3 -2
+3 -2
pkgs/development/libraries/ucl/default.nix
··· 9 9 sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348"; 10 10 }; 11 11 12 - # needed to successfully compile with gcc 6 13 - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=c90"; 12 + # needed to successfully compile with gcc 6+ and modern clang versions where 13 + # `-Wimplicit-function-declaration` is otherwise on and errors by default 14 + env.CFLAGS = "-std=c89"; 14 15 15 16 meta = { 16 17 homepage = "http://www.oberhumer.com/opensource/ucl/";