termux-packages/scripts
Jia Yuan Lo 035c918418
scripts: add termux_setup_gnu_as_23c for NDK r25 (#11615)
NDK r25 has removed GNU Assembler (GAS). Removal of GAS introduced a number of build issues.
The most prominent is:
/usr/bin/as: unrecognized option '-EL'

Some options to solve this:
1. Disable building custom assembly and suffer performance penalty
2. Hand rewrite the custom assembly to be LLVM compatible
3. Wait for upstream to write LLVM compatible assembly (openssl, openssl-1.1)
4. Bring back GAS from NDK r23c

In this commit, GAS is brought back as a separate toolchain instead of following NDK r23c file hierarchy.
We pass "--gcc-toolchain=GAS_TOOLCHAIN_DIR" to NDK r25 clang to detect.
Packages only have to add "termux_step_gnu_as_23c" to build.sh to enable GAS.
In the future, we expect packages should follow option 3 more than option 4 as that is a last resort.

This commit also bumps revision for packages that rely (or previously rely) on "-fno-integrated-as":
hors, libffi, libgcrypt, libpixman, openssl, openssl-1.1

Co-authored-by: Henrik Grimler <grimler@termux.dev>
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com>
2022-08-24 23:17:08 +08:00
..
bin feat(auto update): update packages in there build order 2022-05-07 21:23:32 +05:30
build scripts: add termux_setup_gnu_as_23c for NDK r25 (#11615) 2022-08-24 23:17:08 +08:00
updates refactor: update @MrAdityaAlok email address 2022-05-10 00:15:34 +05:30
utils/docker fix(run-docker.sh): Fix docker exec not passing kill signals (ctrl+c) to commands in some cases leaving processes still running 2022-07-28 15:27:20 +05:00
Dockerfile scripts(setup-ubuntu.sh): install openjdk-17 from ppa repo 2022-07-30 14:34:07 +02:00
Vagrantfile Vagrantfile: update to newer Ubuntu LTS 2021-01-27 10:26:12 +05:30
aptly_api.sh Revert "revertme,ci(aptly_api): hardcode proxy-ip to use for deb uploads" 2022-06-18 19:08:38 +02:00
build-bootstraps.sh Added(scripts): Add build-bootstrap.sh 0.1.0 2022-02-08 08:11:53 +05:00
buildorder.py scripts(buildorder.py): make it possible to ./build-all.sh again 2022-06-18 21:50:23 +02:00
check-built-packages.py scripts,ci(*): use termux.dev instead of termux.org 2022-07-02 10:41:16 +02:00
check-versions.sh No backticks 2019-02-15 18:01:09 +02:00
config.guess Update to latest config.{guess,sub} 2017-01-18 01:02:18 +01:00
config.sub Update to latest config.{guess,sub} 2017-01-18 01:02:18 +01:00
generate-bootstraps.sh scripts: use grimler.se mirror when generating bootstraps for now 2022-08-24 09:35:47 +02:00
get_hash_from_file.py get_hash_from_file.py: ignore Packages.gz/bz2 in Release file 2022-07-11 10:55:57 +02:00
lint-packages.sh linter: add X11 license (https://spdx.org/licenses/X11.html) 2022-08-23 08:44:51 +02:00
list-packages.sh No backticks 2019-02-15 18:01:09 +02:00
list-versions.sh list-versions.sh: use proper way to get path to ./scripts/properties.sh 2020-10-30 21:31:48 +02:00
openjdk-r-ppa.gpg scripts(setup-ubuntu.sh): install openjdk-17 from ppa repo 2022-07-30 14:34:07 +02:00
profile.json profile.json: update to e258d66f17 2022-07-26 15:57:12 +08:00
properties.sh scripts: add termux_setup_gnu_as_23c for NDK r25 (#11615) 2022-08-24 23:17:08 +08:00
run-docker.ps1 enhance(scripts): use GitHub package registry for Docker image 2022-07-23 00:19:08 +03:00
run-docker.sh fix(run-docker.sh): Fix docker exec not passing kill signals (ctrl+c) to commands in some cases leaving processes still running 2022-07-28 15:27:20 +05:00
setup-android-sdk.sh scripts(toolchain): add possibility to install android NDK 25 2022-08-13 12:20:04 +02:00
setup-archlinux.sh scripts: setup-{ubuntu,archlinux}.sh: install re2c for php 2022-08-15 21:55:44 +02:00
setup-offline-bundle.sh upgpkg(swift): 5.6.1 to 5.6.2 2022-06-16 21:31:13 +05:30
setup-termux.sh scripts: setup-{ubuntu,archlinux}.sh: install re2c for php 2022-08-15 21:55:44 +02:00
setup-ubuntu.sh scripts(setup-ubuntu.sh): install openjdk-17 from ppa repo 2022-07-30 14:34:07 +02:00
test-runner.sh Shell script compliance 2019-02-15 18:01:09 +02:00
update-docker.ps1 enhance(scripts): use GitHub package registry for Docker image 2022-07-23 00:19:08 +03:00
update-docker.sh enhance(scripts): use GitHub package registry for Docker image 2022-07-23 00:19:08 +03:00