Skip to content

Commit

Permalink
termux_setup_toolchain_gnu.sh: restore flag -fPIC
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxython authored Oct 2, 2023
1 parent 1baf205 commit 3d027ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/toolchain/termux_setup_toolchain_gnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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+=" -march=x86-64"
CFLAGS+=" -march=x86-64 -fPIC"
PATH_DYNAMIC_LINKER+="ld-linux-x86-64.so.2"
elif [ "$TERMUX_ARCH" = "i686" ]; then
CFLAGS+=" -march=i686"
Expand Down

0 comments on commit 3d027ee

Please sign in to comment.