live-bootstrap/sysa/tcc-0.9.27/patches/static-link.patch

18 lines
480 B
Diff

SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: LGPL-2.0-or-later
static linking is the only typing of linking mes libc supports, so default to
it.
--- libtcc.c 2021-01-14 08:25:30.774995301 +1100
+++ libtcc.c 2021-01-14 08:26:37.594417450 +1100
@@ -734,6 +734,7 @@
++nb_states;
s->alacarte_link = 1;
+ s->static_link = 1;
s->nocommon = 1;
s->warn_implicit_function_declaration = 1;
s->ms_extensions = 1;