stfl: fix compilation error
Error was: bin/ld.real: error: public.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
This commit is contained in:
parent
988877a3fa
commit
cfb33ccd93
@ -10,6 +10,6 @@ TERMUX_PKG_BUILD_IN_SRC=yes
|
|||||||
|
|
||||||
termux_step_configure() {
|
termux_step_configure() {
|
||||||
CC+=" $CPPFLAGS"
|
CC+=" $CPPFLAGS"
|
||||||
CFLAGS+=" -I. -D_XOPEN_SOURCE_EXTENDED=1"
|
CFLAGS+=" -fPIC -I. -D_XOPEN_SOURCE_EXTENDED=1"
|
||||||
LDFLAGS+=" -lncursesw -liconv"
|
LDFLAGS+=" -lncursesw -liconv"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user