summaryrefslogtreecommitdiff
path: root/xibuilds/gcc.xibuild
diff options
context:
space:
mode:
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