1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-14 14:36:39 +00:00

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:
Leonid Pliushch 2019-03-20 00:57:34 +02:00
parent 988877a3fa
commit cfb33ccd93

View File

@ -10,6 +10,6 @@ TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_configure() {
CC+=" $CPPFLAGS"
CFLAGS+=" -I. -D_XOPEN_SOURCE_EXTENDED=1"
CFLAGS+=" -fPIC -I. -D_XOPEN_SOURCE_EXTENDED=1"
LDFLAGS+=" -lncursesw -liconv"
}