[yocto] [meta-mingw][RESEND][PATCH 1/3] common-mingw: force ac_cv_func_mmap_fixed_mapped=no

Richard Tollerton rich.tollerton at ni.com
Wed Jul 16 11:58:03 PDT 2014


The expat mingw build breaks because ix86-common defines
ac_cv_func_mmap_fixed_mapped=yes, causing the build to think that
mmap(), mman.h actually exist. Fix this by always forcing the variable
to "no", which configure would have concluded without such interference.

Signed-off-by: Richard Tollerton <rich.tollerton at ni.com>
---
 meta/site/common-mingw | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta/site/common-mingw

diff --git a/meta/site/common-mingw b/meta/site/common-mingw
new file mode 100644
index 0000000..f337c36
--- /dev/null
+++ b/meta/site/common-mingw
@@ -0,0 +1,2 @@
+# expat
+ac_cv_func_mmap_fixed_mapped=no
-- 
2.0.1




More information about the yocto mailing list