From 9d16c45ec8441f591787d0a53ce66f3bb4da92e4 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 19 Mar 2016 20:00:17 -0400 Subject: [PATCH] Add a libgcc package --- packages/libgcc/build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/libgcc/build.sh diff --git a/packages/libgcc/build.sh b/packages/libgcc/build.sh new file mode 100644 index 000000000..712ae9751 --- /dev/null +++ b/packages/libgcc/build.sh @@ -0,0 +1,9 @@ +TERMUX_PKG_HOMEPAGE=https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html +TERMUX_PKG_DESCRIPTION="GCC low-level runtime library" +TERMUX_PKG_VERSION=4.9 +TERMUX_PKG_KEEP_STATIC_LIBRARIES="true" + +termux_step_extract_into_massagedir () { + mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/ + cp $TERMUX_STANDALONE_TOOLCHAIN/lib/gcc/$TERMUX_HOST_PLATFORM/4.9/libgcc.a $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/ +}