diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-05-08 19:37:08 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-05-08 19:39:10 +0200 |
commit | f09c19c74ec1d8f20c043fdc12f690ec808c397e (patch) | |
tree | 10048293e479649f3eedc0d38dd90299b3a11dd0 | |
parent | 7a5c294ecf58f67f46c38fce4424575ed4c4af8a (diff) |
utils: pass in config flags for ldd
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | utils/Makefile.in | 9 |
1 files changed, 5 insertions, 4 deletions
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 |