use the right configure in gcc package

This commit is contained in:
hippoz 2021-07-01 22:26:42 +03:00
parent 10f777ac82
commit 27837fd1ca

View file

@ -9,7 +9,7 @@ pkg_install() {
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
mkdir 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 install DESTDIR="$1"
ln -s gcc "$1/usr/bin/cc"