510ffcd66b
Disable position independent executables when building on static. Fixes: http://autobuild.buildroot.net/results/bb0/bb00db98477f0f81c95ac1830ef3649b30963416/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
634 B
Makefile
24 lines
634 B
Makefile
################################################################################
|
|
#
|
|
# cifs-utils
|
|
#
|
|
################################################################################
|
|
|
|
CIFS_UTILS_VERSION = 6.3
|
|
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
|
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
CIFS_UTILS_CONF_OPT += --disable-pie
|
|
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))
|