termux_setup_toolchain_gnu.sh: delete flag `-fPIC`

This commit is contained in:
Ivan Max 2023-09-22 13:30:11 +03:00 committed by GitHub
parent c5237bf0c4
commit 5360ad7f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ termux_setup_toolchain_gnu() {
CFLAGS+=" -march=armv7-a -mfloat-abi=hard -mfpu=neon"
PATH_DYNAMIC_LINKER+="ld-linux-armhf.so.3"
elif [ "$TERMUX_ARCH" = "x86_64" ]; then
CFLAGS+=" -fPIC -march=x86-64"
CFLAGS+=" -march=x86-64"
PATH_DYNAMIC_LINKER+="ld-linux-x86-64.so.2"
elif [ "$TERMUX_ARCH" = "i686" ]; then
CFLAGS+=" -march=i686"