summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-05 21:10:44 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-05 21:10:44 +0000
commita9e5b24e67378acf2371b5e60e611f371f9716b6 (patch)
tree0671f8675be4628827d96b91a665cc448c23d21d /extra/gcc-uClibc
parent562d9dc3310f5baf3c5f198d1c5689b16110bee0 (diff)
Don't change options on based on path -- use command line options or
ENV variables only. The current behavior violates the principle of least surprise... -Erik
Diffstat (limited to 'extra/gcc-uClibc')
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index a114160d5..719cf621c 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -132,11 +132,11 @@ int main(int argc, char **argv)
ep = "";
}
- if ((strstr(argv[0],"build") != 0) || (strstr(ep,"build") != 0)) {
+ if (strstr(ep,"build") != 0) {
use_build_dir = 1;
}
- if ((strstr(argv[0],"rpath") != 0) || (strstr(ep,"rpath") != 0)) {
+ if (strstr(ep,"rpath") != 0) {
use_rpath = 1;
}