projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
only use --wildcards for gnu tar
[openwrt-10.03/.git]
/
include
/
host.mk
diff --git
a/include/host.mk
b/include/host.mk
index b4580e2b7a5376b9729e2856331e1c06b2a4c075..64588814726953c0d9763dc248e35c41f81d934b 100644
(file)
--- a/
include/host.mk
+++ b/
include/host.mk
@@
-22,3
+22,7
@@
$(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
-e 's/cris.*/cris/' \
-e 's/i[3-9]86/i386/'`" >> $@
echo "GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@
+ if tar --version 2>&1 | grep 'GNU' >/dev/null; then \
+ echo "TAR_OPTIONS+=--wildcards" >> $@; \
+ fi
+