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 f891d57f51..9d5e666a54 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().
+ */
-+ specs_file = getenv("GCC_SPECS");
++ GET_ENVIRONMENT (specs_file, "GCC_SPECS");
+ if (specs_file && (strlen(specs_file) > 0))
+ {
+ char *spec, *saveptr;