git.iko.soy/typeable/nixpkgs
on master help sign in
glibc: Remove two tiny old cross hacks

- Name is already suffixed - Env vars are already exported

commit7d0d12e3e0a232b5e81c6a739e0b6b395b10c824 authorJohn Ericson <John.Ericson@Obsidian.Systems> dateFri 26 Jan 2018, 20:47 (9 years ago) parent7f1c5a1
1 file changed+1−7
pkgs/development/libraries/glibc/common.nix+1−7
pkgs/development/libraries/glibc/common.nix+1−7
@@ -155,8 +155,7 @@ stdenv.mkDerivation ({
155155// (removeAttrs args [ "withLinuxHeaders" "withGd" ]) //
156156
157157{
158− name = name + "-${version}${patchSuffix}" +
159− lib.optionalString (cross != null) "-${cross.config}";
158+ name = name + "-${version}${patchSuffix}";
160159
161160 src = fetchurl {
162161 url = "mirror://gnu/glibc/glibc-${version}.tar.xz";
@@ -190,11 +189,6 @@ stdenv.mkDerivation ({
190189 libc_cv_c_cleanup=yes
191190 libc_cv_gnu89_inline=yes
192191 EOF
193−
194− export BUILD_CC=gcc
195− export CC="$crossConfig-gcc"
196− export AR="$crossConfig-ar"
197− export RANLIB="$crossConfig-ranlib"
198192 '';
199193
200194 preBuild = lib.optionalString withGd "unset NIX_DONT_SET_RPATH";