From: Kevin P. Fleming Date: Fri, 29 Sep 2006 16:47:05 +0000 (+0000) Subject: another cross-compile fix X-Git-Tag: 1.4.0-beta3~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea0cccc05f29a7aa2e72c2d92785b939d40d5256;p=thirdparty%2Fasterisk.git another cross-compile fix git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43996 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile.rules b/Makefile.rules index b179ae626b..d4df7053c1 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -88,7 +88,7 @@ endef define ast_make_final_host $(1): $(2) $(ECHO_PREFIX) echo " [LD] $$^ -> $$@" - $(CMD_PREFIX) $$(HOST_CC) $$(STATIC_BUILD) -o $$@ $$(CFLAGS) $$(LDFLAGS) $$^ $$(LIBS) + $(CMD_PREFIX) $$(HOST_CC) $$(STATIC_BUILD) -o $$@ $$(HOST_CFLAGS) $$(HOST_LDFLAGS) $$^ $$(LIBS) endef $(eval $(call ast_make_o_c,%.o,%.c))