wimboot: revert "fix build by fixing -idirafter ordering"
This reverts commit1ad0b9a4e3
. commit8c80bd08b7
("build-support/cc-wrapper: pass in non-existent --sysroot= to untangle from libc") was reverted. We can drop the workaround.
This commit is contained in:
parent
6b832b5332
commit
5d837b280e
|
@ -13,15 +13,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
sourceRoot = "source/src";
|
||||
|
||||
# Workaround '-idirafter' ordering bug in staging-next:
|
||||
# https://github.com/NixOS/nixpkgs/pull/210004
|
||||
# where libc '-idirafter' gets added after user's idirafter and
|
||||
# breaks.
|
||||
# TODO(trofi): remove it in staging once fixed in cc-wrapper.
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE_BEFORE_${lib.replaceStrings ["-" "."] ["_" "_"] stdenv.hostPlatform.config}=$(< ${stdenv.cc}/nix-support/libc-cflags)
|
||||
'';
|
||||
|
||||
buildInputs = [ libbfd zlib libiberty ];
|
||||
makeFlags = [ "wimboot.x86_64.efi" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue