From 0a31fc2a959ea1230d07cfd837f5a9a945a7f80a Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 6 Oct 2021 17:19:20 +0100 Subject: Initial commit, added core packages --- repo/core/gcc.xibuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 repo/core/gcc.xibuild (limited to 'repo/core/gcc.xibuild') diff --git a/repo/core/gcc.xibuild b/repo/core/gcc.xibuild new file mode 100644 index 0000000..f72f02b --- /dev/null +++ b/repo/core/gcc.xibuild @@ -0,0 +1,24 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.xz + + +build () { + case $(uname -m) in + x86_64) + sed -e '/m64=/s/lib64/lib/' \ + -i.orig gcc/config/i386/t-linux64 + ;; +esac + + + + mkdir -v build + cd build + ../configure --prefix=/usr --disable-multilib --disable-bootstrap + make + make DESTDIR=$PKG_DEST install +} + -- cgit v1.2.1