name: gcc-base-meta modules: # GCC libs - name: cross-gmp sources: - type: archive url: https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.xz sha256: 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912 config-opts: - --disable-static - --enable-assert - --enable-cxx - --enable-fat - --enable-maintainer-mode - --enable-shared - --with-gnu-ld builddir: true build-options: cflags: -flto cxxflags: -flto post-install: - make -j$FLATPAK_BUILDER_N_JOBS check || true - name: cross-mpfr sources: - type: archive url: https://ftp.gnu.org/gnu/mpfr/mpfr-4.0.2.tar.xz sha256: 1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a config-opts: - --disable-static - --enable-assert - --enable-dependency-tracking - --enable-maintainer-mode - --enable-shared-cache - --enable-shared - --enable-thread-safe - --enable-warnings - --with-gnu-ld builddir: true build-options: cflags: -flto cxxflags: -flto post-install: - make -j$FLATPAK_BUILDER_N_JOBS check || true - name: cross-mpc sources: - type: archive url: https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz sha256: 6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e config-opts: - --disable-static - --enable-dependency-tracking - --enable-maintainer-mode - --enable-shared - --with-gnu-ld builddir: true build-options: cflags: -flto cxxflags: -flto post-install: - make -j$FLATPAK_BUILDER_N_JOBS check || true - name: cross-libs-fix1 buildsystem: simple build-commands: - libtool --finish /usr/lib/x86_64-linux-gnu only-arches: - x86_64 # Binutils - name: mingw-binutils-32bit sources: &BINUTILS_SOURCES - type: archive url: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.xz sha256: ab66fc2d1c3ec0359b8e08843c9f33b63e8707efdff5e4cc5c200eae24722cbf 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 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: - /bin only-arches: - x86_64 # Glibc base headers - name: cross-prepare-glibc sources: - type: archive url: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.2.1.tar.xz sha256: 3581e84e9d63298a14c147f925cd496ebb25c5a08cf065ba63c54cdee6d86506 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 - cd kernel_headers; make -j$FLATPAK_BUILDER_N_JOBS INSTALL_HDR_PATH=/usr/tmp ARCH=x86_64 headers_install - 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