projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
toolchain/nasm: force ar and ranlib only on macOSX
[openwrt/openwrt.git]
/
toolchain
/
nasm
/
Makefile
diff --git
a/toolchain/nasm/Makefile
b/toolchain/nasm/Makefile
index
8d07103
..
3116635
100644
(file)
--- a/
toolchain/nasm/Makefile
+++ b/
toolchain/nasm/Makefile
@@
-24,9
+24,11
@@
HOST_CONFIGURE_ARGS+= \
--disable-gdb \
$(SOFT_FLOAT_CONFIG_OPTION) \
-HOST_MAKE_FLAGS = \
- AR=ar \
- RANLIB=ranlib
+ifeq ($(HOST_OS),Darwin)
+ HOST_MAKE_FLAGS = \
+ AR=ar \
+ RANLIB=ranlib
+endif
define Host/Prepare
$(call Host/Prepare/Default)