mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
Move from mes-m2 to mes-0.24.
This commit is contained in:
parent
52e4366fb6
commit
424aa5be38
28 changed files with 156 additions and 296 deletions
|
|
@ -1 +1 @@
|
|||
287056807b7cd70ecded9201ef7afa0d71fb1cd1e4effc24e38aaf7580c5e442 /usr/bin/tcc
|
||||
b4961580bcce0ad05b69ffd700765d812461238362c9587e8c4ba5906077bd60 /usr/bin/tcc
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ we had to patch musl to replace weak symbols with strong symbols
|
|||
-#endif
|
||||
tcc_error_noabort("'%s' defined twice", name);
|
||||
+#endif
|
||||
+ goto do_patch;
|
||||
+ goto do_patch;
|
||||
}
|
||||
} else {
|
||||
do_patch:
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021-22 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
touch config.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export libdir=${PREFIX}/lib/mes
|
||||
export incdir=${PREFIX}/include
|
||||
export bindir=${PREFIX}/bin
|
||||
|
||||
mkdir -p ${libdir}/tcc
|
||||
|
||||
tcc-0.9.26 \
|
||||
-v \
|
||||
-o tcc \
|
||||
-D TCC_TARGET_I386=1 \
|
||||
-D CONFIG_TCCDIR=\"${libdir}/tcc\" \
|
||||
-D CONFIG_TCC_CRTPREFIX=\"${libdir}\" \
|
||||
-D CONFIG_TCC_ELFINTERP=\"/mes/loader\" \
|
||||
-D CONFIG_TCC_LIBPATHS=\"${libdir}:${libdir}/tcc\" \
|
||||
-D CONFIG_TCC_SYSINCLUDEPATHS=\"${incdir}\" \
|
||||
-D TCC_LIBGCC=\"${libdir}/libc.a\" \
|
||||
-D CONFIG_TCC_STATIC=1 \
|
||||
-D CONFIG_USE_LIBGCC=1 \
|
||||
-D TCC_VERSION=\"0.9.27\" \
|
||||
-D ONE_SOURCE=1 \
|
||||
tcc.c
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -D tcc ${DESTDIR}${bindir}/tcc
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue