diff options
Diffstat (limited to 'dev-lang/tcc/files/linker.patch')
-rw-r--r-- | dev-lang/tcc/files/linker.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dev-lang/tcc/files/linker.patch b/dev-lang/tcc/files/linker.patch deleted file mode 100644 index 8304470e3682..000000000000 --- a/dev-lang/tcc/files/linker.patch +++ /dev/null @@ -1,18 +0,0 @@ -# Fixes the default linker options for portage -# Upstream commit ba286136bf8e48c71ffd6c2fd9ce97e64a6eeeb1 - -diff --git a/libtcc.c b/libtcc.c -index 127806f..dc78643 100644 ---- a/libtcc.c -+++ b/libtcc.c -@@ -1560,6 +1560,10 @@ static int tcc_set_linker(TCCState *s, const char *option) - } else - goto err; - -+ } else if (link_option(option, "as-needed", &p)) { -+ ignoring = 1; -+ } else if (link_option(option, "O", &p)) { -+ ignoring = 1; - } else if (link_option(option, "rpath=", &p)) { - s->rpath = copy_linker_arg(p); - } else if (link_option(option, "section-alignment=", &p)) { |