2020-01-19 23:23:37 +00:00
|
|
|
name: gcc-base-meta
|
|
|
|
modules:
|
2020-01-25 18:17:52 +00:00
|
|
|
# Binutils
|
|
|
|
- name: mingw-binutils-32bit
|
|
|
|
sources: &BINUTILS_SOURCES
|
2020-01-19 23:23:37 +00:00
|
|
|
- type: archive
|
2020-10-11 18:16:22 +00:00
|
|
|
url: https://ftp.gnu.org/gnu/binutils/binutils-2.35.1.tar.lz
|
|
|
|
sha256: b197db77e8e42ba04b968c5958e2cb1f8051537be09966b5bd37a1fe4f0a06a8
|
2020-01-25 18:17:52 +00:00
|
|
|
config-opts:
|
|
|
|
- --target=i686-w64-mingw32
|
|
|
|
- --disable-werror
|
|
|
|
- --enable-deterministic-archives
|
|
|
|
- --enable-lto
|
|
|
|
- --enable-plugins
|
|
|
|
- --enable-relro
|
|
|
|
- --with-system-zlib
|
|
|
|
builddir: true
|
|
|
|
only-arches:
|
|
|
|
- i386
|
|
|
|
- x86_64
|
|
|
|
cleanup-platform:
|
|
|
|
- "*"
|
|
|
|
- name: mingw-binutils-64bit
|
|
|
|
sources: *BINUTILS_SOURCES
|
|
|
|
config-opts:
|
|
|
|
- --target=x86_64-w64-mingw32
|
|
|
|
- --disable-werror
|
|
|
|
- --enable-deterministic-archives
|
|
|
|
- --enable-lto
|
|
|
|
- --enable-plugins
|
|
|
|
- --enable-relro
|
|
|
|
- --with-system-zlib
|
|
|
|
builddir: true
|
|
|
|
only-arches:
|
|
|
|
- x86_64
|
|
|
|
cleanup-platform:
|
|
|
|
- "*"
|
|
|
|
- name: cross-binutils
|
|
|
|
sources: *BINUTILS_SOURCES
|
2020-01-19 23:23:37 +00:00
|
|
|
config-opts:
|
|
|
|
- --host=x86_64-unknown-linux
|
|
|
|
- --build=x86_64-unknown-linux
|
|
|
|
- --target=x86_64-unknown-linux
|
|
|
|
- --disable-libdecnumber
|
|
|
|
- --disable-readline
|
|
|
|
- --disable-sim
|
|
|
|
- --disable-werror
|
|
|
|
- --enable-64-bit-bfd
|
|
|
|
- --enable-deterministic-archives
|
|
|
|
- --enable-gold
|
|
|
|
- --enable-ld=default
|
|
|
|
- --enable-lto
|
|
|
|
- --enable-multiarch
|
|
|
|
- --enable-multilib
|
|
|
|
- --enable-plugins
|
|
|
|
- --enable-relro=yes
|
|
|
|
- --enable-shared
|
|
|
|
- --enable-static
|
|
|
|
- --enable-static-pie
|
|
|
|
- --enable-targets=x86_64-pep
|
|
|
|
- --enable-vtable-verify
|
|
|
|
- --with-system-zlib
|
|
|
|
- --with-lib-path=/usr/lib:/usr/lib32:/usr/lib/x86_64-linux-gnu:/usr/lib64:/app/lib:/app/lib32:/app/lib64
|
|
|
|
builddir: true
|
|
|
|
post-install:
|
|
|
|
- make -k -j$FLATPAK_BUILDER_N_JOBS check || true
|
|
|
|
cleanup-platform:
|
2020-10-11 18:16:22 +00:00
|
|
|
- "*"
|
2020-01-19 23:23:37 +00:00
|
|
|
only-arches:
|
|
|
|
- x86_64
|
2020-01-25 18:17:52 +00:00
|
|
|
|
|
|
|
# Glibc base headers
|
2020-04-24 23:51:48 +00:00
|
|
|
- name: cross-prepare-rsync
|
|
|
|
sources:
|
|
|
|
- type: archive
|
2020-10-11 18:16:22 +00:00
|
|
|
url: https://download.samba.org/pub/rsync/src/rsync-3.2.3.tar.gz
|
|
|
|
sha256: becc3c504ceea499f4167a260040ccf4d9f2ef9499ad5683c179a697146ce50e
|
2020-04-24 23:51:48 +00:00
|
|
|
no-autogen: true
|
2020-10-11 18:16:22 +00:00
|
|
|
config-opts:
|
|
|
|
- --disable-xxhash
|
|
|
|
- --disable-zstd
|
|
|
|
- --disable-lz4
|
2020-04-24 23:51:48 +00:00
|
|
|
cleanup-platform:
|
|
|
|
- "*"
|
2020-01-19 23:23:37 +00:00
|
|
|
- name: cross-prepare-glibc
|
|
|
|
sources:
|
|
|
|
- type: archive
|
2020-04-24 23:51:48 +00:00
|
|
|
url: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.34.tar.xz
|
|
|
|
sha256: 903ec1334daba6a626688f799cc947b420cf6fc8ce83055313dc4e9978d64cd2
|
2020-01-19 23:23:37 +00:00
|
|
|
dest: kernel_headers
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- cd kernel_headers; make -j$FLATPAK_BUILDER_N_JOBS mrproper
|
|
|
|
- cd kernel_headers; make -j$FLATPAK_BUILDER_N_JOBS headers_check
|
2020-04-24 23:51:48 +00:00
|
|
|
- cd kernel_headers; PATH=$PATH:/usr/tmp/usr/bin make -j$FLATPAK_BUILDER_N_JOBS INSTALL_HDR_PATH=/usr/tmp ARCH=x86_64 headers_install
|
2020-01-19 23:23:37 +00:00
|
|
|
- cp -raPv /usr/tmp/include /usr && rm -rf /usr/tmp
|
|
|
|
only-arches:
|
|
|
|
- x86_64
|
|
|
|
cleanup-platform:
|
|
|
|
- "*"
|
|
|
|
- name: todo-32bit
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- "false"
|
|
|
|
only-arches:
|
|
|
|
- i386
|