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 <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-02-09 18:47:22 -08:00
parent 4c89cf5049
commit 4bd8f1bae6
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B

View file

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dnsdist PKG_NAME:=dnsdist
PKG_VERSION:=1.4.0 PKG_VERSION:=1.4.0
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/ PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
@ -14,7 +14,9 @@ PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:powerdns:dnsdist PKG_CPE_ID:=cpe:/a:powerdns:dnsdist
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_ASLR_PIE:=0
PKG_BUILD_DEPENDS:=protobuf/host PKG_BUILD_DEPENDS:=protobuf/host
PKG_CONFIG_DEPENDS:= \ PKG_CONFIG_DEPENDS:= \
@ -103,6 +105,7 @@ CONFIGURE_ARGS+= \
--enable-dnscrypt \ --enable-dnscrypt \
--enable-dnstap \ --enable-dnstap \
--with-libsodium \ --with-libsodium \
--with-pic \
--with-protobuf \ --with-protobuf \
--with-re2 \ --with-re2 \
--with-lua=lua \ --with-lua=lua \