From 215a4f96ec07425777bf05a275099c6bfb17134b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 4 Oct 2021 15:51:58 -0700 Subject: [PATCH] beanstald: fix compilation under macOS Makefile tests the host system, not what it compiles to. Override. Signed-off-by: Rosen Penev --- net/beanstalkd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/beanstalkd/Makefile b/net/beanstalkd/Makefile index 3bedb09bc..97c2608eb 100644 --- a/net/beanstalkd/Makefile +++ b/net/beanstalkd/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=beanstalkd PKG_VERSION:=1.9 -PKG_RELEASE:=1 +PKG_RELEASE:=2 # for now, build from latest commit since releases are infrequent and # useful fixes trickle in... @@ -37,7 +37,7 @@ define Build/Configure endef define Build/Compile - cd $(PKG_BUILD_DIR) && make CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" PREFIX=/usr + cd $(PKG_BUILD_DIR) && make CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" PREFIX=/usr OS=linux endef define Package/beanstalkd/install