summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile.in9
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