GCC recipe grooming.
This commit is contained in:
parent
4f92f0f2f7
commit
80d1b5996f
@ -10,12 +10,26 @@ dependencies:
|
||||
|
||||
dirname: build
|
||||
@configure
|
||||
set -e
|
||||
mkdir %{dirname}
|
||||
cd %{dirname}
|
||||
if [ "$(uname -m)" = x86_64 ]; then :
|
||||
|
||||
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
|
||||
|
||||
../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