From f616c0f1f0678ef9dd3066810c965b253857e138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 20 Aug 2016 18:00:10 +0200 Subject: [PATCH] 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. --- pkgs/development/compilers/openjdk/7.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/openjdk/7.nix b/pkgs/development/compilers/openjdk/7.nix index 5426b0162a7..e6186bc8f13 100644 --- a/pkgs/development/compilers/openjdk/7.nix +++ b/pkgs/development/compilers/openjdk/7.nix @@ -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 = ''