projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use HOST_STATIC_LINKING instead of hardcoding -static
[openwrt/openwrt.git]
/
tools
/
patch-cmdline
/
Makefile
diff --git
a/tools/patch-cmdline/Makefile
b/tools/patch-cmdline/Makefile
index a75ba83b381fe47cbc9659c2af3143d2265eec9d..a9526397f1327d1388471a0ad29808df4bb19607 100644
(file)
--- a/
tools/patch-cmdline/Makefile
+++ b/
tools/patch-cmdline/Makefile
@@
-11,7
+11,7
@@
PKG_NAME:=patch-cmdline
include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
- $(HOSTCC) $(HOST_CFLAGS) -include endian.h
-static
-o $(HOST_BUILD_DIR)/$(PKG_NAME) src/$(PKG_NAME).c
+ $(HOSTCC) $(HOST_CFLAGS) -include endian.h
$(HOST_STATIC_LINKING)
-o $(HOST_BUILD_DIR)/$(PKG_NAME) src/$(PKG_NAME).c
endef
define Host/Install
endef
define Host/Install