فهرست منبع

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 سال پیش
والد
کامیت
a9e5b24e67
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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;
 	}