From 82f170436d355d82c7e4bbef25fa7b1747b46330 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 21 Jun 2020 16:29:10 +0200 Subject: [PATCH] btrfs-progs: remove LDSHARED This should no longer be needed with python3 because it's now set correctly in the interpreter. Note that the build currently fails with and without this change. --- pkgs/tools/filesystems/btrfs-progs/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index 5a6dafae298..f79dc239665 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -20,10 +20,6 @@ stdenv.mkDerivation rec { # for python cross-compiling _PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config; - # The i686 case is a quick hack; I don't know what's wrong. - postConfigure = stdenv.lib.optionalString (!stdenv.isi686) '' - export LDSHARED="$LD -shared" - ''; # gcc bug with -O1 on ARM with gcc 4.8 # This should be fine on all platforms so apply universally