Merge pull request #310542 from rrbutani/fix/ucl-darwin
ucl: fix on Darwin/with `pkgsLLVM`
This commit is contained in:
commit
24ebca454d
1 changed files with 3 additions and 2 deletions
|
@ -9,8 +9,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
|
sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
|
||||||
};
|
};
|
||||||
|
|
||||||
# needed to successfully compile with gcc 6
|
# needed to successfully compile with gcc 6+ and modern clang versions where
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=c90";
|
# `-Wimplicit-function-declaration` is otherwise on and errors by default
|
||||||
|
env.CFLAGS = "-std=c89";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.oberhumer.com/opensource/ucl/";
|
homepage = "http://www.oberhumer.com/opensource/ucl/";
|
||||||
|
|
Loading…
Reference in a new issue