obliv-c: fix build with glibc 2.26

by ignoring unavoidable but unneeded _Complex and __float128 keywords.

Upstream issue: https://github.com/samee/obliv-c/issues/48
This commit is contained in:
Orivej Desh
2017-11-28 11:10:44 +00:00
parent bc6d45f8c5
commit 7f8bc042cc
2 changed files with 39 additions and 0 deletions
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "0jz2ayadx62zv2b5ji947bkvw63axl4a2q70lwli86zgmcl390gf";
};
patches = [ ./ignore-complex-float128.patch ];
preBuild = ''
patchShebangs .
'';