From: Rosen Penev Date: Mon, 10 Feb 2020 02:47:22 +0000 (-0800) Subject: dnsdist: fix compilation on PIE ARM64 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=4bd8f1bae644fd61f4652f1bb444cd39cc63dde3;p=openwrt-packages.git dnsdist: fix compilation on PIE ARM64 $(FPIC) evaluates to -fpic on ARM64, breaking compilation: The dnsdist build system handles it properly anyway. Added --with-pic to make it explicit. Signed-off-by: Rosen Penev --- diff --git a/net/dnsdist/Makefile b/net/dnsdist/Makefile index 217c978de..6d4ffb1a5 100644 --- a/net/dnsdist/Makefile +++ b/net/dnsdist/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsdist PKG_VERSION:=1.4.0 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/ @@ -14,7 +14,9 @@ PKG_LICENSE_FILES:=COPYING PKG_CPE_ID:=cpe:/a:powerdns:dnsdist PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 +PKG_ASLR_PIE:=0 PKG_BUILD_DEPENDS:=protobuf/host PKG_CONFIG_DEPENDS:= \ @@ -103,6 +105,7 @@ CONFIGURE_ARGS+= \ --enable-dnscrypt \ --enable-dnstap \ --with-libsodium \ + --with-pic \ --with-protobuf \ --with-re2 \ --with-lua=lua \