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

@@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
mkdir -p $(HOST_BUILD_DIR)
$(HOSTCC) $(HOST_CFLAGS) -static -o $(HOST_BUILD_DIR)/flock src/flock.c
$(HOSTCC) $(HOST_CFLAGS) $(HOST_STATIC_LINKING) -o $(HOST_BUILD_DIR)/flock src/flock.c
endef
define Host/Install