openjdk7: fix build with glibc-2.24

I tested this patch for both versions but I forgot to push
and 8 got fixed in the meantime 44dc95ef5.
This commit is contained in:
Vladimír Čunát 2016-08-20 18:00:10 +02:00
parent 8856b9e905
commit f616c0f1f0

View File

@ -69,6 +69,8 @@ let
fontconfig perl file bootjdk
];
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
NIX_LDFLAGS = if minimal then null else "-lfontconfig -lXcursor -lXinerama";
postUnpack = ''