diff options
author | davidovski <david@davidovski.xyz> | 2021-10-06 17:19:20 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-06 17:19:20 +0100 |
commit | 0a31fc2a959ea1230d07cfd837f5a9a945a7f80a (patch) | |
tree | 4c9aef911135753e8cdffd849c3d071167886168 /repo/core/gcc.xibuild |
Initial commit, added core packages
Diffstat (limited to 'repo/core/gcc.xibuild')
-rw-r--r-- | repo/core/gcc.xibuild | 24 |
1 files changed, 24 insertions, 0 deletions
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 +} + |