Fixed lib64 directory in gcc’s recipe.
This commit is contained in:
parent
7c6ec81cd2
commit
4f92f0f2f7
@ -1,6 +1,6 @@
|
||||
name: gcc
|
||||
version: 9.1.0
|
||||
release: 1
|
||||
release: 2
|
||||
sources: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
|
||||
dependencies:
|
||||
- gmp
|
||||
@ -10,9 +10,12 @@ dependencies:
|
||||
|
||||
dirname: build
|
||||
@configure
|
||||
set -e;
|
||||
mkdir %{dirname};
|
||||
cd %{dirname};
|
||||
sed -e '/m64=/s/lib64/lib/' -i.orig ../gcc-%{version}/gcc/config/i386/t-linux64;
|
||||
../gcc-%{version}/%{name} --prefix=/usr --libdir=/usr/lib --disable-multilib --disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer --disable-nls --disable-werror --enable-languages=c,c++ --target=x86_64-junk-linux-musl --%{dirname}=x86_64-junk-linux-musl --host=x86_64-junk-linux-musl
|
||||
set -e
|
||||
mkdir %{dirname}
|
||||
cd %{dirname}
|
||||
if [ "$(uname -m)" = x86_64 ]; then :
|
||||
sed -e '/m64=/s/lib64/lib/' ../gcc-%{version}/gcc/config/i386/t-linux64 > tmp
|
||||
mv tmp ../gcc-%{version}/gcc/config/i386/t-linux64
|
||||
fi
|
||||
../gcc-%{version}/configure --prefix=/usr --libdir=/usr/lib --disable-multilib --disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer --disable-nls --disable-werror --enable-languages=c,c++ --target=x86_64-junk-linux-musl --%{dirname}=x86_64-junk-linux-musl --host=x86_64-junk-linux-musl
|
||||
|
||||
|
Reference in New Issue
Block a user