Browse Source

stfl: fix compilation error

Error was:
bin/ld.real: error: public.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
emacs-27
Leonid Plyushch 6 years ago
parent
commit
c345980cdc
  1. 2
      packages/stfl/build.sh

2
packages/stfl/build.sh

@ -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…
Cancel
Save