termux-packages/packages/libgcc/build.sh

12 lines
440 B
Bash
Raw Normal View History

2016-03-20 01:00:17 +01:00
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/
2016-05-17 02:40:45 +02:00
2016-06-10 16:45:16 +02:00
LIBGCC_PATH=lib/gcc/$TERMUX_HOST_PLATFORM/4.9.x/libgcc.a
2016-05-17 02:40:45 +02:00
cp $TERMUX_STANDALONE_TOOLCHAIN/$LIBGCC_PATH $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/
2016-03-20 01:00:17 +01:00
}