static libraries need them as they are not PIC by default.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
--enable-unicode-properties \
--enable-pcre16 \
--with-match-limit-recursion=16000 \
- --enable-cpp
-
-TARGET_CFLAGS += $(FPIC)
+ --enable-cpp \
+ --with-pic
CONFIGURE_ARGS += \
--enable-utf8 \
--enable-pcre32 \
$(if $(CONFIG_PCRE_JIT_ENABLED),--enable-jit,--disable-jit) \
--with-match-limit-recursion=16000 \
- --$(if $(CONFIG_PACKAGE_libpcrecpp),en,dis)able-cpp
+ --$(if $(CONFIG_PACKAGE_libpcrecpp),en,dis)able-cpp \
+ --with-pic
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)"