mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
stress-ng: fix build on macos
This patch adds KERNEL=Linux to MAKE_FLAGS to avod Darwin detection. If Makefile detects Darwin, it removes -lbsd from build flags, but this flag is required due to target is always Linux, not bsd-like. Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
This commit is contained in:
@@ -36,6 +36,9 @@ was designed to exercise various physical subsystems of a computer as well as
|
|||||||
the various operating system kernel interfaces.
|
the various operating system kernel interfaces.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
MAKE_FLAGS += \
|
||||||
|
KERNEL=Linux
|
||||||
|
|
||||||
define Package/stress-ng/install
|
define Package/stress-ng/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress-ng $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress-ng $(1)/usr/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user