summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc
diff options
context:
space:
mode:
authorPatrick Hilhorst <philhorst@science.ru.nl>2018-05-03 16:30:32 +0200
committerPatrick Hilhorst <philhorst@science.ru.nl>2018-05-03 16:30:32 +0200
commit51ac1d8df08d606ae5d8af95073bb74e330249f3 (patch)
tree19836ea9519947dbc9c705450cd371fae051d7b6 /pkgs/development/compilers/gcc
parentd21ff87160cfde2db368622a8044006391cae60a (diff)
downloadnixlib-51ac1d8df08d606ae5d8af95073bb74e330249f3.tar
nixlib-51ac1d8df08d606ae5d8af95073bb74e330249f3.tar.gz
nixlib-51ac1d8df08d606ae5d8af95073bb74e330249f3.tar.bz2
nixlib-51ac1d8df08d606ae5d8af95073bb74e330249f3.tar.lz
nixlib-51ac1d8df08d606ae5d8af95073bb74e330249f3.tar.xz
nixlib-51ac1d8df08d606ae5d8af95073bb74e330249f3.tar.zst
nixlib-51ac1d8df08d606ae5d8af95073bb74e330249f3.zip
gcc8: Removed X11 components, since they were only used by langJava
Diffstat (limited to 'pkgs/development/compilers/gcc')
-rw-r--r--pkgs/development/compilers/gcc/8/default.nix14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkgs/development/compilers/gcc/8/default.nix b/pkgs/development/compilers/gcc/8/default.nix
index 16636f04982b..2465e6149c0a 100644
--- a/pkgs/development/compilers/gcc/8/default.nix
+++ b/pkgs/development/compilers/gcc/8/default.nix
@@ -12,12 +12,6 @@
 , libelf                      # optional, for link-time optimizations (LTO)
 , isl ? null # optional, for the Graphite optimization framework.
 , zlib ? null
-, pkgconfig ? null
-, gtk2 ? null, libart_lgpl ? null
-, libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null
-, libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null
-, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
-, x11Support ? false
 , enableMultilib ? false
 , enablePlugin ? hostPlatform == buildPlatform # Whether to support user-supplied plug-ins
 , name ? "gcc"
@@ -60,11 +54,6 @@ let version = "8.1.0";
       }) */
       ++ optional langFortran ../gfortran-driving.patch;
 
-    xlibs = [
-      libX11 libXt libSM libICE libXtst libXrender libXrandr libXi
-      xproto renderproto xextproto inputproto randrproto
-    ];
-
     /* Platform flags */
     platformFlags = let
         gccArch = targetPlatform.platform.gcc.arch or null;
@@ -150,9 +139,6 @@ let version = "8.1.0";
 
 in
 
-# We need all these X libraries when building AWT with GTK+.
-assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
-
 stdenv.mkDerivation ({
   name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;