Revert "stdenvBootstrapTools: fix build by fetching pie fix commit"

Preparing to move this patch into regular gcc.

This reverts commit 200b5eb08a.
This commit is contained in:
dramforever
2025-12-13 11:20:35 +08:00
parent 215fcb0f8e
commit 690e72201e
+4 -15
View File
@@ -47,21 +47,10 @@ rec {
'';
};
bootGCC =
(pkgs.gcc.cc.override {
enableLTO = false;
isl = null;
}).overrideAttrs
(old: {
patches = old.patches or [ ] ++ [
(pkgs.fetchpatch {
# c++tools: Don't check --enable-default-pie.
# --enable-default-pie breaks bootstrap gcc otherwise, because libiberty.a is not found
url = "https://github.com/gcc-mirror/gcc/commit/3f1f99ef82a65d66e3aaa429bf4fb746b93da0db.patch";
hash = "sha256-wKVuwrW22gSN1woYFYxsyVk49oYmbogIN6FWbU8cVds=";
})
];
});
bootGCC = pkgs.gcc.cc.override {
enableLTO = false;
isl = null;
};
bootBinutils = pkgs.binutils.bintools.override {
withAllTargets = false;