summaryrefslogtreecommitdiff
path: root/xibuilds/gcc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 09:03:02 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 09:03:02 +0100
commitd4cb1386d79c95e7586e7bccad5b0f6c7861cfe8 (patch)
treefaf7ff136ab50bdcf34f2d0c02002192c1c8bc39 /xibuilds/gcc.xibuild
parentcdea2f67ae42d4220e19a555259b69a960925283 (diff)
added tarcapabilities
Diffstat (limited to 'xibuilds/gcc.xibuild')
-rw-r--r--xibuilds/gcc.xibuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/xibuilds/gcc.xibuild b/xibuilds/gcc.xibuild
index 3edb513..f72f02b 100644
--- a/xibuilds/gcc.xibuild
+++ b/xibuilds/gcc.xibuild
@@ -2,10 +2,19 @@
DEPS=(glibc)
-SOURCE=git://gcc.gnu.org/git/gcc.git
+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