fix GNU_HOST_NAME for non-linux machines
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Sep 2006 13:11:47 +0000 (13:11 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Sep 2006 13:11:47 +0000 (13:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4865 3c298f89-4303-0410-b956-a3cf2f4a3e73

rules.mk

index 3645b06..768b480 100644 (file)
--- 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 \
This page took 0.029493 seconds and 4 git commands to generate.