projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a4f8fa
)
fix GNU_HOST_NAME for non-linux machines
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 27 Sep 2006 13:11:47 +0000
(13:11 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 27 Sep 2006 13:11:47 +0000
(13:11 +0000)
SVN-Revision: 4865
openwrt/rules.mk
patch
|
blob
|
history
diff --git
a/openwrt/rules.mk
b/openwrt/rules.mk
index 3645b064f7b50b7e93a99f23fab45c7ab565e32a..768b4805595624487068621601ea7f56886c70a6 100644
(file)
--- 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 \