mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
toolchain/nasm: fix missing AR/RANLIB variables
Fixes build on macOS Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
bf136c637c
commit
d3a7587eb9
@ -24,6 +24,10 @@ HOST_CONFIGURE_ARGS+= \
|
|||||||
--disable-gdb \
|
--disable-gdb \
|
||||||
$(SOFT_FLOAT_CONFIG_OPTION) \
|
$(SOFT_FLOAT_CONFIG_OPTION) \
|
||||||
|
|
||||||
|
HOST_MAKE_FLAGS = \
|
||||||
|
AR=ar \
|
||||||
|
RANLIB=ranlib
|
||||||
|
|
||||||
define Host/Prepare
|
define Host/Prepare
|
||||||
$(call Host/Prepare/Default)
|
$(call Host/Prepare/Default)
|
||||||
ln -snf $(notdir $(HOST_BUILD_DIR)) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
|
ln -snf $(notdir $(HOST_BUILD_DIR)) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
|
||||||
@ -37,12 +41,9 @@ define Host/Configure
|
|||||||
$(call Host/Configure/Default)
|
$(call Host/Configure/Default)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Compile
|
|
||||||
+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) all
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR) \
|
$(MAKE) -C $(HOST_BUILD_DIR) \
|
||||||
|
$(HOST_MAKE_FLAGS) \
|
||||||
prefix=$(TOOLCHAIN_DIR) \
|
prefix=$(TOOLCHAIN_DIR) \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user