aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/gcc-spec-env.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gcc/gcc-spec-env.patch')
-rw-r--r--main/gcc/gcc-spec-env.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/gcc/gcc-spec-env.patch b/main/gcc/gcc-spec-env.patch
index 9d5e666a54..f891d57f51 100644
--- a/main/gcc/gcc-spec-env.patch
+++ b/main/gcc/gcc-spec-env.patch
@@ -15,7 +15,7 @@
+ * each spec listed, the string is overwritten at token boundaries
+ * (':') with '\0', an effect of strtok_r().
+ */
-+ GET_ENVIRONMENT (specs_file, "GCC_SPECS");
++ specs_file = getenv("GCC_SPECS");
+ if (specs_file && (strlen(specs_file) > 0))
+ {
+ char *spec, *saveptr;