Make patch
This commit is contained in:
commit
4bf34bf9da
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ pkg_install() {
|
||||||
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
|
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
./configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
|
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
ln -s gcc "$1/usr/bin/cc"
|
ln -s gcc "$1/usr/bin/cc"
|
||||||
|
|
Loading…
Reference in a new issue