mirror of
https://git.suyu.dev/suyu/ext-linux-bin
synced 2024-11-21 14:29:04 -07:00
54facbbf76
Also updates build scripts.
13 lines
238 B
Bash
13 lines
238 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
THIS=$(readlink -e $0)
|
|
|
|
mkdir gcc/build
|
|
cd gcc/build
|
|
/src/gcc/configure --enable-languages=c,c++ --disable-multilib
|
|
make -j$(nproc)
|
|
|
|
mkdir gcc-$1 | true
|
|
make -j$(nproc) install DESTDIR=/src/gcc-$1
|
|
cp $THIS /src/gcc-$1
|