mirror of
https://github.com/yuzu-emu/ext-linux-bin.git
synced 2024-11-22 01:45:42 +01:00
13 lines
216 B
Bash
13 lines
216 B
Bash
#!/bin/bash
|
|
|
|
THIS=$(readlink -e $0)
|
|
|
|
mkdir build
|
|
cd build
|
|
/src/gcc/configure --enable-languages=c,c++ --disable-multilib
|
|
make -j$(nproc)
|
|
|
|
mkdir gcc-$1
|
|
make -j$(nproc) install DESTDIR=/src/gcc-$1
|
|
cp $THIS /src/gcc-$1
|