libxerces-c: Switch to using -fPIC
authorRosen Penev <redacted>
Fri, 10 May 2019 18:40:47 +0000 (11:40 -0700)
committerRosen Penev <redacted>
Fri, 10 May 2019 18:40:47 +0000 (11:40 -0700)
-fpic is failing on AArch64.

Signed-off-by: Rosen Penev <redacted>
libs/libxerces-c/Makefile

index 23c1d196f2902d9a5c195edd0bdccafd8dbc04ea..3896a02c6c5570a3679a2637909b2634c718099e 100644 (file)
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xerces-c
 PKG_VERSION:=3.2.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@APACHE/xerces/c/3/sources
 PKG_HASH:=6daca3b23364d8d883dc77a73f681242f69389e3564543287ed3d073007e0a8e
-PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
 
+PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
 
@@ -65,9 +65,8 @@ CONFIGURE_ARGS += \
        --enable-msgloader-inmemory \
        --enable-netaccessor-socket \
        --enable-transcoder-iconv \
-       --without-pic
+       --with-pic
 
-TARGET_CFLAGS += $(FPIC)
 TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
 
 define Build/InstallDev
git clone https://git.99rst.org/PROJECT