Browse Source

locale: remove building for the host, as it breaks

Waldemar Brodkorb 7 years ago
parent
commit
8c53e7524d
1 changed files with 1 additions and 9 deletions
  1. 1 9
      utils/Makefile.in

+ 1 - 9
utils/Makefile.in

@@ -64,10 +64,6 @@ BUILD_CFLAGS-ldd.host      := \
 				-I$(top_srcdir)ldso/ldso/$(TARGET_ARCH) \
 				-I$(top_srcdir)ldso/include \
 				-include $(top_srcdir)include/elf.h
-BUILD_CFLAGS-locale.host   := \
-				-DNOT_IN_libc \
-				-I$(top_srcdir)utils/ \
-				-I.
 BUILD_CFLAGS-iconv.host    := \
 			-include $(top_builddir)extra/locale/c8tables.h \
 			-I$(top_srcdir)libc/misc/wchar -DL_iconv_main
@@ -97,7 +93,6 @@ endif
 utils_OBJ := $(patsubst %,$(utils_OUT)/%,$(utils_OBJ))
 
 hostutils_OBJ := $(patsubst %,%.host,$(utils_OBJ))
-hostutils_LOCALE_OBJ := $(patsubst %,%.host,$(utils_LOCALE_OBJ))
 
 utils: $(utils_OBJ) $(utils_LOCALE_OBJ)
 
@@ -109,10 +104,7 @@ $(utils_OBJ): $(utils_OUT)/% : $(utils_DIR)/%.c | $(libc)
 $(utils_OUT)/locale: $(top_srcdir)extra/locale/programs/locale.c | $(libc)
 	$(compile.u)
 
-$(utils_OUT)/locale.host: $(top_srcdir)extra/locale/programs/locale.c | $(libc)
-	$(hcompile.u)
-
-hostutils: $(hostutils_OBJ) $(hostutils_LOCALE_OBJ)
+hostutils: $(hostutils_OBJ)
 
 $(hostutils_OBJ): $(utils_OUT)/%.host : $(utils_DIR)/%.c
 	$(hcompile.u)