Browse Source

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

Eric Andersen 24 years ago
parent
commit
a9e5b24e67
1 changed files with 2 additions and 2 deletions
  1. 2 2
      extra/gcc-uClibc/gcc-uClibc.c

+ 2 - 2
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;
 	}