From 013cf1b4f26b0a0fb6191cd562e5c5424af5610d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 14 Oct 2015 14:27:13 +0200 Subject: [PATCH] syslinux: Strip static libraries This prevents a retained dependency on gcc. --- pkgs/os-specific/linux/syslinux/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/syslinux/default.nix b/pkgs/os-specific/linux/syslinux/default.nix index 3c01516b0815..150b2b447298 100644 --- a/pkgs/os-specific/linux/syslinux/default.nix +++ b/pkgs/os-specific/linux/syslinux/default.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation rec { substituteInPlace gpxe/src/Makefile --replace /usr/bin/perl $(type -P perl) ''; + stripDebugList = "bin sbin share/syslinux/com32"; + makeFlags = [ "BINDIR=$(out)/bin" "SBINDIR=$(out)/sbin"