termux-packages/scripts/build
Henrik Grimler b782c7da0e toolchain: add -fPIC to CPPFLAGS for i686
When adding this, we go from compiling with

  /home/builder/.termux-build/_cache/android-r21d-api-24-v4/bin/clang++ [...] -mrelocation-model pic -pic-level 2 -pic-is-pie [...]

to

  /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/clang++ [...] -mrelocation-model pic -pic-level 2 [...]

Before, we got a warning when compiling libandroid-spawn:

  /home/builder/.termux-build/_cache/android-r21d-api-24-v4/bin/../lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: warning: shared library text segment is not shareable

and trying to use a program linked against libandroid-spawn gave an
error, see
https://github.com/termux/termux-packages/issues/7215#issuecomment-906154438
the Without this, libraries might end up with text relocations. For
some reason it does not seem to be an issue on the other arches.

%ci:no-build
2021-08-27 10:02:20 +02:00
..
configure step_configure_cmake: mv cmake and ninja setup functions to step_configure 2021-08-24 21:40:46 +02:00
get_source build-package.sh: fix TERMUX_PKG_SRCURL unbound variable 2020-07-22 20:08:46 +03:00
setup golang: revert to 1.16 (#7373) 2021-08-21 16:58:27 +03:00
termux_create_subpackages.sh Revert "termux_create_subpackages: add data/ to tar instead of ./" 2021-08-24 13:30:20 +02:00
termux_download_deb.sh termux_download_deb: add workaround for download of arch all pkgs 2021-05-14 11:58:09 +02:00
termux_download.sh termux_download: don't warn if SKIP_CHECKSUM is passed 2021-08-17 15:22:46 +02:00
termux_error_exit.sh build-package.sh: fix printing of error message when trying to run script on Android device 2019-03-26 01:27:09 +02:00
termux_extract_dep_info.sh termux_extract_dep_info: fix logic for subpackages (#6753) 2021-05-05 21:20:39 +02:00
termux_get_repo_files.sh termux_get_repo_files: do not create folders 2021-08-25 21:41:56 +02:00
termux_step_create_datatar.sh Revert "termux_step_create_datatar.sh: add data/ to tar instead of ./" 2021-08-24 13:30:52 +02:00
termux_step_create_debfile.sh enforce gnu format for deb tar archives 2020-02-11 15:17:40 +01:00
termux_step_create_timestamp_file.sh build-package: create timestamp file after get_dependencies 2021-08-21 22:37:51 +02:00
termux_step_extract_into_massagedir.sh termux_step_extract_into_massagedir.sh: don't add tmp/ files to packages, particularly on-device 2020-02-07 00:22:50 +05:30
termux_step_finish_build.sh enable on-device builds 2019-08-08 16:58:34 +03:00
termux_step_get_dependencies.sh build-package: mv code for getting deps out of step_start_build 2021-08-21 20:59:24 +02:00
termux_step_handle_buildarch.sh build-package.sh: more fixes for variable checking 2019-08-13 18:44:10 +03:00
termux_step_handle_hostbuild.sh build-package: error if hostbuilt tools are missing 2021-08-24 21:40:46 +02:00
termux_step_host_build.sh build-package: mv termux_step_host_build to scripts/build/ 2019-02-27 21:59:08 +02:00
termux_step_install_license.sh licenses: Simplified BSD->BSD Simplified 2021-08-02 11:38:35 +02:00
termux_step_install_service_scripts.sh termux-services: add down and log/down to CONFFILES 2020-03-20 20:44:51 +01:00
termux_step_make_install.sh cargo: install with --locked 2021-03-10 14:09:26 +01:00
termux_step_make.sh build-package.sh: better support for metapackages 2019-08-14 20:29:58 +03:00
termux_step_massage.sh build-package: rename TERMUX_DEBUG to TERMUX_DEBUG_BUILD 2021-08-21 20:55:57 +02:00
termux_step_patch_package.sh build-package: add new arg -c for "continue build" 2021-08-24 21:40:46 +02:00
termux_step_replace_guess_scripts.sh build-package.sh: better support for metapackages 2019-08-14 20:29:58 +03:00
termux_step_setup_build_folders.sh termux_step_setup_build_folders: create more cache folders 2021-08-25 22:38:00 +02:00
termux_step_setup_toolchain.sh toolchain: add -fPIC to CPPFLAGS for i686 2021-08-27 10:02:20 +02:00
termux_step_setup_variables.sh build-package: add new arg -c for "continue build" 2021-08-24 21:40:46 +02:00
termux_step_start_build.sh toolchain: add -fPIC to CPPFLAGS for i686 2021-08-27 10:02:20 +02:00