![Thomas Petazzoni](/assets/img/avatar_default.png)
PIE breaks the build on m68k and Microblaze, so let's add a patch that disables using PIE by default in keepalived. Obviously, when we start seriously testing the BR2_RELRO_FULL option, we will realize that it is broken on some architectures, and will probably disable it on m68k and Microblaze. Fixes: http://autobuild.buildroot.net/results/a536f5947b3b70fdaecad1af5542572c504ad046/ http://autobuild.buildroot.net/results/0ffbf1e8d181c9463847a5b2be6f9baa18face24/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
################################################################################
|
|
#
|
|
# keepalived
|
|
#
|
|
################################################################################
|
|
|
|
KEEPALIVED_VERSION = 1.4.2
|
|
KEEPALIVED_SITE = http://www.keepalived.org/software
|
|
KEEPALIVED_DEPENDENCIES = host-pkgconf openssl popt
|
|
KEEPALIVED_LICENSE = GPL-2.0+
|
|
KEEPALIVED_LICENSE_FILES = COPYING
|
|
# 0001-configure.ac-do-not-force-PIE.patch
|
|
KEEPALIVED_AUTORECONF = YES
|
|
KEEPALIVED_CONF_OPTS += --disable-dbus
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_PACKAGE_LIBNFNETLINK),yy)
|
|
KEEPALIVED_DEPENDENCIES += libnl libnfnetlink
|
|
KEEPALIVED_CONF_OPTS += --enable-libnl
|
|
else
|
|
KEEPALIVED_CONF_OPTS += --disable-libnl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IPSET),y)
|
|
KEEPALIVED_DEPENDENCIES += ipset
|
|
KEEPALIVED_CONF_OPTS += --enable-libipset
|
|
else
|
|
KEEPALIVED_CONF_OPTS += --disable-libipset
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_IPTABLES),y)
|
|
KEEPALIVED_DEPENDENCIES += iptables
|
|
KEEPALIVED_CONF_OPTS += --enable-libiptc
|
|
else
|
|
KEEPALIVED_CONF_OPTS += --disable-libiptc
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|