mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
0b652851b1
* gnu/packages/patches/mes-nyacc-0.86.0.patch: Support bootstrap build. * gnu/packages/commencement.scm (%fake-bootstrap mes-boot0, mescc-tools-boot, nyacc-boot, mes-boot, tcc-boot0, tcc-boot, make-mesboot0, diffutils-mesboot, binutils-mesboot0, gcc-core-mesboot, mesboot-headers, glibc-mesboot0, gcc-mesboot0, binutils-mesboot, make-mesboot, gmp-boot, mpfr-boot, mpc-boot, gcc-mesboot1, gcc-mesboot1-wrapper, glibc-headers-mesboot, glibc-mesboot, gcc-mesboot, gcc-mesboot-wrapper, m4-mesboot): New variable. * gnu/packages/patches/binutils-boot-2.20.1a.patch: New file. New file. * gnu/packages/patches/gcc-boot-2.95.3.patch: New file. * gnu/packages/patches/gcc-boot-4.7.4.patch: New file. * gnu/packages/patches/glibc-boot-2.16.0.patch: New file. * gnu/packages/patches/glibc-boot-2.2.5.patch: New file. * gnu/packages/patches/glibc-bootstrap-system-2.16.0.patch: New file. * gnu/packages/patches/tcc-boot-0.9.27.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them.
26 lines
604 B
Diff
26 lines
604 B
Diff
From 1431ba3a99582e4c3d2693ac37e57f361858affd Mon Sep 17 00:00:00 2001
|
|
From: Jan Nieuwenhuizen <janneke@gnu.org>
|
|
Date: Mon, 11 Jun 2018 18:39:44 +0200
|
|
Subject: [PATCH] bootstrappable: Force static link.
|
|
|
|
---
|
|
libtcc.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/libtcc.c b/libtcc.c
|
|
index 3448f44..02ab850 100644
|
|
--- a/libtcc.c
|
|
+++ b/libtcc.c
|
|
@@ -735,6 +735,9 @@ LIBTCCAPI TCCState *tcc_new(void)
|
|
tcc_state = s;
|
|
++nb_states;
|
|
|
|
+#if BOOTSTRAP
|
|
+ s->static_link = 1;
|
|
+#endif
|
|
s->alacarte_link = 1;
|
|
s->nocommon = 1;
|
|
s->warn_implicit_function_declaration = 1;
|
|
--
|
|
2.16.2
|
|
|