Merge pull request #270784 from emilytrau/buddy-clang
buddy: fix clang build
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user