From: nbd Date: Wed, 27 Sep 2006 13:11:47 +0000 (+0000) Subject: fix GNU_HOST_NAME for non-linux machines X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/f4e092f9df4fde40d424747f4c509f67cb50a03f 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 3645b064f..768b48055 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 \