facter: fix build with gcc8

This commit is contained in:
Franz Pletz 2019-01-11 14:27:07 +01:00
parent 0cd9da1295
commit ef6e873beb
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "puppetlabs";
};
CXXFLAGS = "-fpermissive";
CXXFLAGS = "-fpermissive -Wno-error=catch-value";
NIX_LDFLAGS = "-lblkid";
cmakeFlags = [ "-DFACTER_RUBY=${ruby}/lib/libruby.so" ];