From ce3253be558105e95aa26ab7de86a4cbc510c9a6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 27 Sep 2006 13:11:47 +0000 Subject: [PATCH] fix GNU_HOST_NAME for non-linux machines SVN-Revision: 4865 --- openwrt/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/rules.mk b/openwrt/rules.mk index 3645b064f7b..768b4805595 100644 --- a/openwrt/rules.mk +++ b/openwrt/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.30.2