diff options
-rw-r--r-- | Makerules | 2 | ||||
-rw-r--r-- | utils/Makefile.in | 2 |
2 files changed, 2 insertions, 2 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 $@ $(NATIVE_LDFLAGS) $(NATIVE_LDFLAGS-$(notdir $(^D))) $(HOSTCFLAGS) $(HOSTCFLAGS-$(notdir $(^D))) $(HOSTCFLAGS-$(notdir $@)) +hcompile.u = $(HOSTCC) $^ $(DEPS-$(notdir $@)) -o $@ $(BUILD_LDFLAGS) $(BUILD_LDFLAGS-$(notdir $(^D))) $(HOSTCFLAGS) $(HOSTCFLAGS-$(notdir $(^D))) $(HOSTCFLAGS-$(notdir $@)) compile.c = @$(disp_compile.c) ; $(cmd_compile.c) compile.E = $(cmd_compile.c:-c=-E) diff --git a/utils/Makefile.in b/utils/Makefile.in index c955d0cfe..97ad20a23 100644 --- a/utils/Makefile.in +++ b/utils/Makefile.in @@ -36,7 +36,7 @@ HOSTCFLAGS-ldconfig.host := $(HOSTCFLAGS-utils-common) HOSTCFLAGS-ldd.host := $(HOSTCFLAGS-utils-common) -D_GNU_SOURCE -NATIVE_LDFLAGS-utils := -Wl,-s +BUILD_LDFLAGS-utils := -Wl,-s utils_DIR := $(top_srcdir)utils utils_OUT := $(top_builddir)utils |