summaryrefslogtreecommitdiffstats
path: root/meta/site/common
diff options
context:
space:
mode:
Diffstat (limited to 'meta/site/common')
-rw-r--r--meta/site/common4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/site/common b/meta/site/common
index 90766886b3..e2dd4b57f7 100644
--- a/meta/site/common
+++ b/meta/site/common
@@ -3,3 +3,7 @@ mr_cv_target_elf=${mr_cv_target_elf=yes}
# Normally kernels have /dev/random enabled
ac_cv_file__dev_random=${ac_cv_file__dev_random=yes}
+
+# Avoid sudo to assume void for unsetenv in cross environment, or else it conflicts with
+# target stdlib.h prototype which follows POSIX compiliance. Mark for upstream.
+sudo_cv_func_unsetenv_void=no