Merge pull request #12232 from neheb/cifs

cifs-utils: fix compilation
This commit is contained in:
Rosen Penev 2020-05-20 09:20:10 -07:00 committed by GitHub
commit 9455e46d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=cifs-utils
PKG_VERSION:=6.10
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://download.samba.org/pub/linux-cifs/cifs-utils/
@ -54,6 +54,9 @@ CONFIGURE_ARGS += \
--disable-man \
--without-libcap
CONFIGURE_ARGS += \
ac_cv_lib_cap_ng_capng_clear=no
TARGET_CFLAGS += $(FPIC) -ffunction-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed