Because we're building things separately, we don't need the fancy lib/... namespacing tricks that GCC normally does to squeeze itself in the FHS. We can just use the normal autotools libdir and include dir, and the nixpkgs infra will sort everything out. Where possible I submitted patches to the mailing list, and fetched those. The ones I am vendoring are the residuals which I don't think are ready for upstreaming yet. (I can imagine a further reworking upstream such that we wouldn't need our own patches of that sort, but it would be good to get the first crop merged first before discussing that.)
64 lines
1.5 KiB
Nix
64 lines
1.5 KiB
Nix
{
|
|
# TODO: fix up and send to upstream
|
|
"gcc/fix-collect2-paths.diff" = [
|
|
{
|
|
after = "15";
|
|
path = ../15;
|
|
}
|
|
];
|
|
|
|
# Submitted (001--003):
|
|
# - https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577639.html
|
|
# - https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577640.html
|
|
# - https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577638.html
|
|
#
|
|
# In Git: https://github.com/Ericson2314/gcc/tree/prog-target-15
|
|
"gcc/0001-find_a_program-First-search-with-machine-prefix.patch" = [
|
|
{
|
|
after = "15";
|
|
path = ../15;
|
|
}
|
|
];
|
|
"gcc/0002-driver-for_each_pass-Pass-to-callback-whether-dir-is.patch" = [
|
|
{
|
|
after = "15";
|
|
path = ../15;
|
|
}
|
|
];
|
|
"gcc/0003-find_a_program-Only-search-for-prefixed-paths-in-und.patch" = [
|
|
{
|
|
after = "15";
|
|
path = ../15;
|
|
}
|
|
];
|
|
|
|
# In Git: https://github.com/Ericson2314/gcc/tree/regular-dirs-in-libgcc-15
|
|
"libgcc/force-regular-dirs.patch" = [
|
|
{
|
|
after = "15";
|
|
path = ../15;
|
|
}
|
|
];
|
|
# In Git: https://github.com/Ericson2314/gcc/tree/regular-dirs-in-libssp-15
|
|
"libssp/force-regular-dirs.patch" = [
|
|
{
|
|
after = "15";
|
|
path = ../15;
|
|
}
|
|
];
|
|
# In Git: https://github.com/Ericson2314/gcc/tree/libstdcxx-force-regular-dirs-15
|
|
"libstdcxx/force-regular-dirs.patch" = [
|
|
{
|
|
after = "15";
|
|
path = ../15;
|
|
}
|
|
];
|
|
# In Git: https://github.com/Ericson2314/gcc/tree/libgfortran-force-regular-dirs-15
|
|
"libgfortran/force-regular-dirs.patch" = [
|
|
{
|
|
after = "15";
|
|
path = ../15;
|
|
}
|
|
];
|
|
}
|