dnsdist: fix compilation on PIE ARM64
authorRosen Penev <rosenp@gmail.com>
Mon, 10 Feb 2020 02:47:22 +0000 (18:47 -0800)
committerRosen Penev <rosenp@gmail.com>
Thu, 13 Feb 2020 23:48:44 +0000 (15:48 -0800)
$(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 <rosenp@gmail.com>
net/dnsdist/Makefile

index 217c978de7ed43509751eb51d30281cbafa7c594..6d4ffb1a5f99aa9087eeae0da9de852176451619 100644 (file)
@@ -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 \