From: Felix Fietkau Date: Wed, 27 Sep 2006 13:11:47 +0000 (+0000) Subject: fix GNU_HOST_NAME for non-linux machines X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=0199c0e95cfbd490a1c39ac744fdb68149c73977;p=15.05%2Fopenwrt.git 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 --- 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 \