summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Rudoy <gene@freetz.org>2016-01-09 12:00:43 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-10 09:15:21 +0100
commit0c91741de0b307a7090125984b327a4374d27142 (patch)
treee6ebd7074392586fb30d355cdbd08ca40ec3c00e
parentcddda5f9beb3d61f1122df95ccfcf855931775b7 (diff)
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 <gene@freetz.org>
-rw-r--r--utils/Makefile.in2
1 files changed, 1 insertions, 1 deletions
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 \