termux_step_setup_toolchain: -fPIC
should be in CFLAGS
This commit is contained in:
parent
697977c0b1
commit
653a110ddb
@ -49,7 +49,7 @@ termux_step_setup_toolchain() {
|
||||
CFLAGS+=" -march=i686 -msse3 -mstackrealign -mfpmath=sse"
|
||||
# i686 seem to explicitly require -fPIC, see
|
||||
# https://github.com/termux/termux-packages/issues/7215#issuecomment-906154438
|
||||
CPPFLAGS+=" -fPIC"
|
||||
CFLAGS+=" -fPIC"
|
||||
export GOARCH=386
|
||||
export GO386=sse2
|
||||
elif [ "$TERMUX_ARCH" = "aarch64" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user