use HOST_STATIC_LINKING instead of hardcoding -static

SVN-Revision: 33140
This commit is contained in:
Jo-Philipp Wich
2012-08-12 12:34:30 +00:00
parent 095fe8743b
commit cf1698c637
23 changed files with 27 additions and 25 deletions

View File

@@ -16,7 +16,7 @@ PKG_CAT:=zcat
include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" LDFLAGS="$(HOST_LDFLAGS) -static"
$(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" LDFLAGS="$(HOST_LDFLAGS) $(HOST_STATIC_LINKING)"
endef
define Host/Install