When not building a toolchain, use the native compiler
authorEric Andersen <andersen@codepoet.org>
Tue, 17 Dec 2002 02:26:49 +0000 (02:26 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 17 Dec 2002 02:26:49 +0000 (02:26 -0000)
make/uclibc.mk

index 68594af4eb32ef16a374193e73d5b7f860186084..88ef5df54feb65c88d1868d9abe3b3919d456d9a 100644 (file)
@@ -54,7 +54,7 @@ LINUX_DIR:=$(BUILD_DIR)/linux
 endif
 
 $(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
-       perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCROSS=$(TARGET_CROSS),g' $(UCLIBC_DIR)/Rules.mak
+       perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCROSS=,g' $(UCLIBC_DIR)/Rules.mak
        cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
        perl -i -p -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' $(UCLIBC_DIR)/.config
        perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"$(STAGING_DIR)\",g' $(UCLIBC_DIR)/.config