use the right configure in gcc package
This commit is contained in:
parent
10f777ac82
commit
27837fd1ca
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