mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 02:29:16 +08:00
inotify-tools: fix link error on x86
This commit is contained in:
parent
a6cba2ee1c
commit
af92c8113e
@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=inotify-tools
|
||||
PKG_VERSION:=3.20.11.0
|
||||
PKG_HASH:=58a3cde89e4a5111a87ac16b56b06a8f885460fca0aea51b69c856ce30a37a14
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/rvoicilas/inotify-tools/tar.gz/$(PKG_VERSION)?
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
@ -19,6 +19,14 @@ include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
CONFIGURE_ARGS+= --disable-doxygen
|
||||
|
||||
ifneq ($(CONFIG_USE_MUSL),)
|
||||
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
## Avoid linking with libstdcpp
|
||||
TARGET_CXXFLAGS+= -nodefaultlibs -lc -fno-exceptions
|
||||
TARGET_LDFLAGS+= $(if $(CONFIG_USE_MUSL),-lssp_nonshared)
|
||||
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
$(CP) $(PKG_BUILD_DIR)/README.md $(PKG_BUILD_DIR)/README
|
||||
|
Loading…
Reference in New Issue
Block a user