mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #270784 from emilytrau/buddy-clang
buddy: fix clang build
This commit is contained in:
commit
4237bae3f3
@ -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