Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
4bd8f1bae6
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      net/dnsdist/Makefile

+ 4
- 1
net/dnsdist/Makefile View 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 \


Loading…
Cancel
Save