diff options
-rw-r--r-- | make/coreutils.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/make/coreutils.mk b/make/coreutils.mk index c02839b8e..aac13bdc3 100644 --- a/make/coreutils.mk +++ b/make/coreutils.mk @@ -22,9 +22,10 @@ $(COREUTILS_DIR)/.unpacked: $(DL_DIR)/$(COREUTILS_SOURCE) touch $(COREUTILS_DIR)/.unpacked $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked - (cd $(COREUTILS_DIR); autoconf; rm -f config.cache; CC=$(TARGET_CC1) \ - CFLAGS=-D_POSIX_SOURCE ./configure --prefix=/usr --disable-nls \ - --mandir=/junk --infodir=/junk \ + (cd $(COREUTILS_DIR); rm -f config.cache; CC=$(TARGET_CC1) \ + CFLAGS=-D_POSIX_SOURCE ./configure --prefix=/usr \ + --target=$(ARCH)-linux --host=$(ARCH)-linux \ + --disable-nls --mandir=/junk --infodir=/junk \ ); touch $(COREUTILS_DIR)/.configured |