projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build when TAR_OPTIONS env variable is set
[openwrt/svn-archive/archive.git]
/
include
/
toplevel.mk
diff --git
a/include/toplevel.mk
b/include/toplevel.mk
index dcde7e25969182d0e52ded150d1dba6683ae21ad..8a21f7eef4b6d6a2432551a603f2a04698ac38c6 100644
(file)
--- a/
include/toplevel.mk
+++ b/
include/toplevel.mk
@@
-43,6
+43,8
@@
unexport LPATH
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=
+unexport TAR_OPTIONS
+
ifneq ($(shell $(HOSTCC) 2>&1 | grep clang),)
export HOSTCC_REAL?=$(HOSTCC)
export HOSTCC_WRAPPER:=$(TOPDIR)/scripts/clang-gcc-wrapper