summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-27 13:11:47 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-27 13:11:47 +0000
commitf4e092f9df4fde40d424747f4c509f67cb50a03f (patch)
tree6f8fcd0c80021a028aade66b2f28841258ea24cb
parent78981f18b8c54713cf5434184f65d83b4655d15e (diff)
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
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 3645b064f7..768b480559 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 \