mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
buddy: fix clang build
This commit is contained in:
parent
10ee18ca92
commit
aca48610cc
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ bison ];
|
||||
patches = [ ./gcc-4.3.3-fixes.patch ];
|
||||
configureFlags = [ "CFLAGS=-O3" "CXXFLAGS=-O3" ];
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=register";
|
||||
NIX_LDFLAGS = "-lm";
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user