Browse Source

libxerces-c: Switch to using -fPIC

-fpic is failing on AArch64.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
4adc2b453d
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      libs/libxerces-c/Makefile

+ 3
- 4
libs/libxerces-c/Makefile View File

@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=xerces-c PKG_NAME:=xerces-c
PKG_VERSION:=3.2.2 PKG_VERSION:=3.2.2
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@APACHE/xerces/c/3/sources PKG_SOURCE_URL:=@APACHE/xerces/c/3/sources
PKG_HASH:=6daca3b23364d8d883dc77a73f681242f69389e3564543287ed3d073007e0a8e 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:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
@ -65,9 +65,8 @@ CONFIGURE_ARGS += \
--enable-msgloader-inmemory \ --enable-msgloader-inmemory \
--enable-netaccessor-socket \ --enable-netaccessor-socket \
--enable-transcoder-iconv \ --enable-transcoder-iconv \
--without-pic
--with-pic
TARGET_CFLAGS += $(FPIC)
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
define Build/InstallDev define Build/InstallDev


Loading…
Cancel
Save