-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathMakefile
31 lines (24 loc) · 1001 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PKG_NAME = davfs2
PKG_VERS = 1.6.0
PKG_EXT = tar.gz
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://download.savannah.gnu.org/releases/$(PKG_NAME)
DEPENDS = cross/neon cross/libtool
DESCRIPTION = Mount a WebDAV resource as a regular file system
HOMEPAGE = https://savannah.nongnu.org/projects/davfs2
LICENSE = GPLv3
export ssbindir=$(STAGING_INSTALL_PREFIX)/sbin/
GNU_CONFIGURE = 1
CONFIGURE_ARGS = --with-neon=$(STAGING_INSTALL_PREFIX)
CONFIGURE_ARGS += ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
include ../../mk/spksrc.common.mk
ifeq ($(findstring $(ARCH),$(ARM5_ARCHES) ppc853x hi3535),$(ARCH))
# patch Makefile.in for gcc -lt 4.9
# see https://savannah.nongnu.org/bugs/?51004
POST_CONFIGURE_TARGET = davfs2_post_configure
endif
include ../../mk/spksrc.cross-cc.mk
.PHONY: davfs2_post_configure
davfs2_post_configure:
@$(RUN) sed -e "s#-fstack-protector-strong#-fstack-protector-all#g" -i src/Makefile.in