aboutsummaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-27 13:11:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-27 13:11:47 +0000
commitce3253be558105e95aa26ab7de86a4cbc510c9a6 (patch)
treeed641d6d942eb555838c5a21c9fcbf20ce69dd5e /openwrt
parent7a4f8fa7aa868b5f56e6cddbbac58bb62d76860c (diff)
fix GNU_HOST_NAME for non-linux machines
SVN-Revision: 4865
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/rules.mk b/openwrt/rules.mk
index 3645b064f7..768b480559 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 \