about summary refs log tree commit diff
path: root/pkgs/development/compilers/openjdk
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-08-20 18:00:10 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-08-20 18:00:10 +0200
commitf616c0f1f0678ef9dd3066810c965b253857e138 (patch)
tree506a9d3b296f8cf97a7ed72c6171d8abecbd5f8c /pkgs/development/compilers/openjdk
parent8856b9e905e31209ee3ef7e0ac773ca9de5a344d (diff)
downloadnixlib-f616c0f1f0678ef9dd3066810c965b253857e138.tar
nixlib-f616c0f1f0678ef9dd3066810c965b253857e138.tar.gz
nixlib-f616c0f1f0678ef9dd3066810c965b253857e138.tar.bz2
nixlib-f616c0f1f0678ef9dd3066810c965b253857e138.tar.lz
nixlib-f616c0f1f0678ef9dd3066810c965b253857e138.tar.xz
nixlib-f616c0f1f0678ef9dd3066810c965b253857e138.tar.zst
nixlib-f616c0f1f0678ef9dd3066810c965b253857e138.zip
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.
Diffstat (limited to 'pkgs/development/compilers/openjdk')
-rw-r--r--pkgs/development/compilers/openjdk/7.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/openjdk/7.nix b/pkgs/development/compilers/openjdk/7.nix
index 5426b0162a72..e6186bc8f13c 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 = ''