Browse Source

Merge pull request #8946 from neheb/xer

libxerces-c: Switch to using -fPIC
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by GitHub
parent
commit
2d17e9b935
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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