diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-24 14:52:20 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-24 14:52:20 +0000 |
commit | b6d51d28921a42fc174f7daac2f94171bc18a1c2 (patch) | |
tree | 866c44724218f28e334d8eb677f230913aefec93 | |
parent | 52e08a6b9c198668341391d36a27f63d622ae80c (diff) |
Add support for NATIVE_LDFLAGS[-subdir]
-rw-r--r-- | Makerules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ define compile.u $(CC) $^ $(DEPS-$(notdir $@)) -o $@ $(CFLAGS) $(CFLAGS-$(notdir $(^D))) $(CFLAGS-$(notdir $@)) $(STRIPTOOL) $(STRIP_FLAGS) $@ endef -hcompile.u = $(HOSTCC) $^ $(DEPS-$(notdir $@)) -o $@ -Wl,-s $(HOSTCFLAGS) $(HOSTCFLAGS-$(notdir $(^D))) $(HOSTCFLAGS-$(notdir $@)) +hcompile.u = $(HOSTCC) $^ $(DEPS-$(notdir $@)) -o $@ $(NATIVE_LDFLAGS) $(NATIVE_LDFLAGS-$(notdir $(^D))) $(HOSTCFLAGS) $(HOSTCFLAGS-$(notdir $(^D))) $(HOSTCFLAGS-$(notdir $@)) compile.c = @$(disp_compile.c) ; $(cmd_compile.c) compile.E = $(cmd_compile.c:-c=-E) |