gcc: generic compilation, no more spec file
This commit is contained in:
parent
c93e3d669c
commit
c27fcc004e
@ -1,7 +1,15 @@
|
||||
name: gcc
|
||||
version: 9.1.0
|
||||
release: 2
|
||||
sources: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
|
||||
version: 9.2.0
|
||||
release: 1
|
||||
sources:
|
||||
- https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
|
||||
- specs
|
||||
|
||||
build-dependencies:
|
||||
- gmp-dev
|
||||
- mpfr-dev
|
||||
- mpc-dev
|
||||
|
||||
dependencies:
|
||||
- gmp
|
||||
- mpfr
|
||||
@ -18,7 +26,13 @@ dirname: build
|
||||
mv tmp ../gcc-%{version}/gcc/config/i386/t-linux64
|
||||
fi
|
||||
|
||||
export CC=gcc
|
||||
export CXX=g++
|
||||
../gcc-%{version}/configure \
|
||||
CFLAGS="$CFLAGS -isystem %{prefix}/include" \
|
||||
CXXFLAGS="$CXXFLAGS -isystem %{prefix}/include" \
|
||||
--with-tune=generic \
|
||||
\
|
||||
--prefix=%{prefix} \
|
||||
--libdir=%{prefix}/lib \
|
||||
--disable-multilib \
|
||||
@ -26,9 +40,8 @@ dirname: build
|
||||
--disable-libmpx \
|
||||
--disable-libmudflap \
|
||||
--disable-libsanitizer \
|
||||
--disable-bootstrap \
|
||||
--disable-nls \
|
||||
--disable-werror \
|
||||
--enable-languages=c,c++ \
|
||||
--target=x86_64-weird-linux-musl \
|
||||
--build=x86_64-weird-linux-musl \
|
||||
--host=x86_64-weird-linux-musl
|
||||
--build=x86_64-weird-linux-musl
|
||||
|
Reference in New Issue
Block a user