projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: add ORIG_PATH variable
[openwrt/openwrt.git]
/
target
/
toolchain
/
files
/
wrapper.sh
diff --git
a/target/toolchain/files/wrapper.sh
b/target/toolchain/files/wrapper.sh
index 4b3f8f911ab67ed57652c5325304e732b23bdc71..09a9cac928abd9f38e55e4b7ef6e6a0bb415f0e9 100755
(executable)
--- a/
target/toolchain/files/wrapper.sh
+++ b/
target/toolchain/files/wrapper.sh
@@
-43,6
+43,7
@@
TOOLCHAIN_BIN_DIR="$REALNAME_DIR/"
# Set the PATH so that our run-time location is first
# (get_feature is run from the path, so this has to be set)
+export ORIG_PATH=${ORIG_PATH:-$PATH}
export PATH="$TOOLCHAIN_BIN_DIR":$PATH
export GCC_HONOUR_COPTS