Browse Source

apr: clean up the package

- removes '$(FPIC)' and '--without-pic', there is no good reason for
  them being used (also @minfrin mentioned memory footprint implications
  when '--without-pic' is used)
- stops removing aclocal.m4 and build/ltmain.sh (reason of removal of
  these files is not apparent anymore)
- adds PKG_BUILD_PARALLEL:=1

Resolves #10884

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
lilik-openwrt-22.03
Sebastian Kemper 5 years ago
parent
commit
40a29bf055
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      libs/apr/Makefile

+ 3
- 5
libs/apr/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=apr
PKG_VERSION:=1.6.5
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@APACHE/apr/
@ -18,8 +18,9 @@ PKG_HASH:=a67ca9fcf9c4ff59bce7f428a323c8b5e18667fdea7b0ebad47d194371b0a105
PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
PKG_LICENSE:=Apache-2.0
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
PKG_REMOVE_FILES:=aclocal.m4 build/ltmain.sh
PKG_INSTALL:=1
@ -33,10 +34,7 @@ define Package/libapr
URL:=https://apr.apache.org/
endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \
--without-pic \
--with-devrandom=/dev/urandom \
$(call autoconf_bool,CONFIG_IPV6,ipv6)


Loading…
Cancel
Save