From ea0cccc05f29a7aa2e72c2d92785b939d40d5256 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 29 Sep 2006 16:47:05 +0000 Subject: [PATCH] another cross-compile fix git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43996 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))