From: Felix Fietkau Date: Wed, 27 Sep 2006 13:11:47 +0000 (+0000) Subject: fix GNU_HOST_NAME for non-linux machines X-Git-Tag: reboot~30718^2~106 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce3253be558105e95aa26ab7de86a4cbc510c9a6;p=openwrt%2Fstaging%2Fchunkeey.git fix GNU_HOST_NAME for non-linux machines SVN-Revision: 4865 --- 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 \