From f4e092f9df4fde40d424747f4c509f67cb50a03f Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 27 Sep 2006 13:11:47 +0000 Subject: [PATCH] fix GNU_HOST_NAME for non-linux machines git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4865 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mk b/rules.mk index 3645b064f..768b48055 100644 --- a/rules.mk +++ b/rules.mk @@ -76,7 +76,7 @@ HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \ -e 's/i[3-9]86/i386/' \ ) -GNU_HOST_NAME:=$(HOST_ARCH)-pc-linux-gnu +GNU_HOST_NAME:=$(shell $(HOSTCC) -dumpmachine) TARGET_CONFIGURE_OPTS:= \ AR=$(TARGET_CROSS)ar \ -- 2.20.1