7446bf2958
PIE is not supported for uClibc-ng/m68k. Fixes following autobuild failure: http://autobuild.buildroot.net/results/4246de0280d4e7f8765adefd379c9dd414c316f1/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
712 B
Makefile
28 lines
712 B
Makefile
################################################################################
|
|
#
|
|
# cifs-utils
|
|
#
|
|
################################################################################
|
|
|
|
CIFS_UTILS_VERSION = 6.5
|
|
CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
|
|
CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils
|
|
CIFS_UTILS_LICENSE = GPLv3+
|
|
CIFS_UTILS_LICENSE_FILES = COPYING
|
|
|
|
ifneq ($(BR2_STATIC_LIBS)$(BR2_m68k),)
|
|
CIFS_UTILS_CONF_OPTS += --disable-pie
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_KEYUTILS),y)
|
|
CIFS_UTILS_DEPENDENCIES += keyutils
|
|
endif
|
|
|
|
define CIFS_UTILS_NO_WERROR
|
|
$(SED) 's/-Werror//' $(@D)/Makefile.in
|
|
endef
|
|
|
|
CIFS_UTILS_POST_PATCH_HOOKS += CIFS_UTILS_NO_WERROR
|
|
|
|
$(eval $(autotools-package))
|