From 4bd8f1bae644fd61f4652f1bb444cd39cc63dde3 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 9 Feb 2020 18:47:22 -0800 Subject: [PATCH] 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 --- net/dnsdist/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net/dnsdist/Makefile b/net/dnsdist/Makefile index 217c978de7..6d4ffb1a5f 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 \ -- 2.30.2