aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-29 16:47:05 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-29 16:47:05 +0000
commit4c5f57204798cfd4920d92217a9ae85775c327b4 (patch)
treecfe102f7d107729d64124453586fafe4d82403c8 /Makefile.rules
parent5bbd0be2eca5d885c7611f893e679d27344ff60f (diff)
another cross-compile fix
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43996 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index b179ae626..d4df7053c 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))