facter: fix build with gcc8

This commit is contained in:
Franz Pletz
2019-06-17 07:25:56 +02:00
parent 0cd9da1295
commit ef6e873beb
+1 -1
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" ];