From f09c19c74ec1d8f20c043fdc12f690ec808c397e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 8 May 2012 19:37:08 +0200 Subject: utils: pass in config flags for ldd Signed-off-by: Bernhard Reutner-Fischer --- utils/Makefile.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'utils') diff --git a/utils/Makefile.in b/utils/Makefile.in index b634b81e5..cca2c585a 100644 --- a/utils/Makefile.in +++ b/utils/Makefile.in @@ -45,14 +45,15 @@ CFLAGS-getconf :=$(CFLAGS-utils) \ # "make hostutils" flags -ifeq ($(LDSO_CACHE_SUPPORT),y) -LDSO_CACHE_SUPPORT := -D__LDSO_CACHE_SUPPORT__=1 -endif +UTILS_CONFIG_FLAGS-y := +UTILS_CONFIG_FLAGS-$(LDSO_CACHE_SUPPORT) += -D__LDSO_CACHE_SUPPORT__ +UTILS_CONFIG_FLAGS-$(LDSO_LDD_SUPPORT) += -D__LDSO_LDD_SUPPORT__ +UTILS_CONFIG_FLAGS-$(LDSO_STANDALONE_SUPPORT) += -D__LDSO_STANDALONE_SUPPORT__ BUILD_CFLAGS-utils := \ -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ -DUCLIBC_LDSO=$(UCLIBC_LDSO) \ - $(LDSO_CACHE_SUPPORT) + $(UTILS_CONFIG_FLAGS-y) BUILD_CFLAGS-ldconfig.host := $(BUILD_CFLAGS-utils) \ -DBUILDING_LINKAGE \ -I$(top_srcdir)ldso/include -- cgit v1.2.3