mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 21:24:32 +04:00
mrd6: fix compilation under macOS
uname variable needs to be overriden. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -52,7 +52,8 @@ MRD6_MAKEFLAGS:= \
|
|||||||
LDFLAGS="$(TARGET_LDFLAGS) -ldl -lm" \
|
LDFLAGS="$(TARGET_LDFLAGS) -ldl -lm" \
|
||||||
MODULE_CXX="\$$$$(CC) -shared \$$$$(CXXFLAGS) \$$$$(LDFLAGS)" \
|
MODULE_CXX="\$$$$(CC) -shared \$$$$(CXXFLAGS) \$$$$(LDFLAGS)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
PREFIX="/usr"
|
PREFIX="/usr" \
|
||||||
|
KERNEL=Linux
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/src $(MRD6_MAKEFLAGS) all
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/src $(MRD6_MAKEFLAGS) all
|
||||||
|
|||||||
Reference in New Issue
Block a user