Browse Source

Rename NATIVE_LDFLAGS to BUILD_LDFLAGS proposed by vapier

Peter S. Mazinger 18 years ago
parent
commit
3bf8644932
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Makerules
  2. 1 1
      utils/Makefile.in

+ 1 - 1
Makerules

@@ -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)

+ 1 - 1
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