From 0c91741de0b307a7090125984b327a4374d27142 Mon Sep 17 00:00:00 2001 From: Eugene Rudoy Date: Sat, 9 Jan 2016 12:00:43 +0100 Subject: ARCH_NATIVE_BIT should in the first place be passed when building utils for host ARCH_NATIVE_BIT should in the first place be passed when building utils for host (BUILD_CFLAGS-utils). It could also be passed when building utils for target (CFLAGS-utils), but this is actually not necessary as ARCH_NATIVE_BIT and __WORDSIZE are identical in this case. Fixes 5ec4477584b69fe5f1410649b2eb3a63835fb649 (makes it actually work). Signed-off-by: Eugene Rudoy --- utils/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/Makefile.in b/utils/Makefile.in index a601721e5..6349aa73d 100644 --- a/utils/Makefile.in +++ b/utils/Makefile.in @@ -14,7 +14,6 @@ CFLAGS-utils := \ -I$(top_srcdir)ldso/include \ -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ -DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \ - -DARCH_NATIVE_BIT=$(ARCH_NATIVE_BIT) \ -I$(top_srcdir)/$(KERNEL_HEADERS) \ -DNOT_IN_libc \ -B$(top_builddir)lib \ @@ -54,6 +53,7 @@ UTILS_CONFIG_FLAGS-$(LDSO_STANDALONE_SUPPORT) += -D__LDSO_STANDALONE_SUPPORT__ BUILD_CFLAGS-utils := \ -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ -DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \ + -DARCH_NATIVE_BIT=$(ARCH_NATIVE_BIT) \ $(UTILS_CONFIG_FLAGS-y) BUILD_CFLAGS-ldconfig.host := \ -DBUILDING_LINKAGE \ -- cgit v1.2.3