forked from ports/contrib
mingw-w64-gcc: initial import, version 10.2.0
This commit is contained in:
parent
b2f75d926a
commit
42685f10bf
2982
mingw-w64-gcc/.footprint
Normal file
2982
mingw-w64-gcc/.footprint
Normal file
File diff suppressed because it is too large
Load Diff
1
mingw-w64-gcc/.nostrip
Normal file
1
mingw-w64-gcc/.nostrip
Normal file
@ -0,0 +1 @@
|
||||
.*\.a$
|
5
mingw-w64-gcc/.signature
Normal file
5
mingw-w64-gcc/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF36KEYL5LK50sch5zJB+xa0PLez7KNrAZwXe4e8XcLDrzJ8FhNLkouBchpa4PB4JjM/Z5JXI3Sm6XXcGa0zZcYAU=
|
||||
SHA256 (Pkgfile) = 74457298d843b91b7188754ee548281f9cbbb322f35a1fac667a48b0762efb70
|
||||
SHA256 (.footprint) = a998ed81d17e3a38f55ac3bd66d9b0f23efdd2f5c297d3508c8284422130de54
|
||||
SHA256 (gcc-10.2.0.tar.xz) = b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c
|
32
mingw-w64-gcc/Pkgfile
Normal file
32
mingw-w64-gcc/Pkgfile
Normal file
@ -0,0 +1,32 @@
|
||||
# Description: gcc for mingw-w64 toolchain
|
||||
# URL: https://gcc.gnu.org/
|
||||
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
||||
# Depends on: mingw-w64-binutils mingw-w64-headers mingw-w64-crt
|
||||
|
||||
name=mingw-w64-gcc
|
||||
version=10.2.0
|
||||
release=1
|
||||
source=(http://gcc.gnu.org/pub/gcc/releases/gcc-$version/gcc-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
for T in {i686,x86_64}-w64-mingw32; do
|
||||
mkdir build-$T
|
||||
cd build-$T
|
||||
../gcc-$version/configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib/$name \
|
||||
--target=$T \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-multilib
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cd ..
|
||||
done
|
||||
|
||||
rm -r $PKG/usr/share/{info,locale}
|
||||
rm $PKG/usr/share/man/man7/{fsf-funding,gfdl,gpl}.7*
|
||||
rm $PKG/usr/lib/libcc1*
|
||||
|
||||
rm $PKG/usr/lib/gcc/{i686,x86_64}-w64-mingw32/$version/{include-fixed,install-tools/include}/README
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user