From eb53ab945e360bd88bedb395770b6cfb2c98aaad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 17 Dec 2022 10:46:27 +0700 Subject: [PATCH] glibc+gcc+binutils: cross-compile --- srcpkgs/PopCorn/template | 2 -- srcpkgs/binutils/template | 1 - srcpkgs/gcc/template | 1 - srcpkgs/glibc/template | 1 - srcpkgs/libiberty-devel/template | 1 - srcpkgs/libtool/template | 2 -- srcpkgs/mk-configure/template | 1 - 7 files changed, 9 deletions(-) diff --git a/srcpkgs/PopCorn/template b/srcpkgs/PopCorn/template index dcd312fa760..38d9e46a353 100644 --- a/srcpkgs/PopCorn/template +++ b/srcpkgs/PopCorn/template @@ -23,8 +23,6 @@ make_dirs=" /var/lib/popcorn 0755 _popcorn _popcorn /etc/popcorn 0755 _popcorn _popcorn" -nocross=temporarily - post_install() { vlicense LICENSE vsv popcorn diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index 9b0b3e5473e..c355a5fc801 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -20,7 +20,6 @@ if [ "$CHROOT_READY" ]; then depends="binutils-doc" subpackages+=" binutils-devel" fi -nocross=temporarily _get_triplet() { if [ -z "$XBPS_TRIPLET" ]; then diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template index b5e8cef7e3a..a20af7c0ef2 100644 --- a/srcpkgs/gcc/template +++ b/srcpkgs/gcc/template @@ -29,7 +29,6 @@ checksum="e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 fcf78dd9656c10eb8cf9fbd5f59a0b6b01386205fe1934b3b287a0a1898145c0" -nocross=temporarily nopie=yes lib32disabled=yes bootstrap=yes diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template index 99f4d41de3f..452b55c1276 100644 --- a/srcpkgs/glibc/template +++ b/srcpkgs/glibc/template @@ -58,7 +58,6 @@ archs="~*-musl" if [ "$XBPS_TARGET_LIBC" = musl ]; then broken="no point in building this for musl" fi -nocross=temporarily do_configure() { mkdir build diff --git a/srcpkgs/libiberty-devel/template b/srcpkgs/libiberty-devel/template index dfcc569fe3d..d9618e3806b 100644 --- a/srcpkgs/libiberty-devel/template +++ b/srcpkgs/libiberty-devel/template @@ -14,4 +14,3 @@ checksum=b59050f48c8a0f9c9e6fba5d17c7a4f11d1329de0c0dca7331b767a6d2bbe8d9 conflicts="binutils-devel<=2.35.1_3" CFLAGS="-fPIC" -nocross=temporarily diff --git a/srcpkgs/libtool/template b/srcpkgs/libtool/template index 17e3a12c08a..aebad9294ee 100644 --- a/srcpkgs/libtool/template +++ b/srcpkgs/libtool/template @@ -17,8 +17,6 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args="lt_cv_shlibpath_overrides_runpath=yes" fi -nocross=temporarily - pre_configure() { touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in ./bootstrap --force diff --git a/srcpkgs/mk-configure/template b/srcpkgs/mk-configure/template index d5aa1d5210f..2fd1ad6f69e 100644 --- a/srcpkgs/mk-configure/template +++ b/srcpkgs/mk-configure/template @@ -21,7 +21,6 @@ case "$XBPS_TARGET_MACHINE" in *-musl) checkdepends+=" musl-fts-devel" esac -nocross=temporarily post_extract() { rm -r tests/pkg_config_2 # different wording