termux-packages/packages/perl
Henrik Grimler 93fca0f5c3 perl: add -pie flag when compiling perl modules on arm and i686
Before, trying to compile some perl modules on arm fails with an
error like

t/01-simple.t ..... 5/7 "./add": error: Android 5.0 and later only support position-independent executables (-fPIE).

No idea why it occurs on arm but not on aarch64 or x86_64. Error
should probably be fixed properly elsewhere in perl's source code, but
let's go for this easy fix for now. Adding -pie here also introduces
warnings when building perl packages on device due to clang -E not
recognizing it, but at least they compile..

Tested on lineage-18.1 arm tablet.
2021-07-04 21:46:28 +02:00
..
build.sh
cnf-configure_func.sh.patch
cnf-configure_path.sh.patch
file-spec-unix.pm.patch
perlio.c.patch