summaryrefslogtreecommitdiff
path: root/packages/mono/files/mono-libgc-configure.patch
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2007-12-12 22:33:06 +0000
committerCliff Brake <cbrake@bec-systems.com>2007-12-12 22:33:06 +0000
commitc6c56ec9b79372e509f87a08e9d0e8e60bc854b4 (patch)
tree5d55a7324942dc9e23c1bce9fb6b5d8e4b233820 /packages/mono/files/mono-libgc-configure.patch
parent6bcfbe338d719d5f7f3224aa4b06c6f49be32383 (diff)
mono 1.2.6pre4: add new version to OE
DEFAULT_PREFERENCE is set to -1 for this version until 1.2.6 is released.
Diffstat (limited to 'packages/mono/files/mono-libgc-configure.patch')
-rw-r--r--packages/mono/files/mono-libgc-configure.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/mono/files/mono-libgc-configure.patch b/packages/mono/files/mono-libgc-configure.patch
new file mode 100644
index 0000000000..641635da3c
--- /dev/null
+++ b/packages/mono/files/mono-libgc-configure.patch
@@ -0,0 +1,20 @@
+Index: mono-1.2.6/libgc/configure.in
+===================================================================
+--- mono-1.2.6.orig/libgc/configure.in 2007-12-12 15:02:31.000000000 -0500
++++ mono-1.2.6/libgc/configure.in 2007-12-12 15:05:10.000000000 -0500
+@@ -17,6 +17,15 @@
+ AC_PREREQ(2.53)
+ AC_INIT(libgc-mono, 6.6, Hans_Boehm@hp.com)
+
++# the following is a very strange bug. CPPFLAGS does not get set correctly
++# if CPPFLAGS is set in the environment. The top level configure script
++# appends to the CPPFLAGS variable, and then exports it. This change should
++# be picked up by this configure script, but it is not. The original
++# env variable is still used for some reason. If CPPFLAGS is not set in the
++# environment, everything works fine.
++# Someone more experienced with autoconf will have to come up with a better fix.
++CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DUSE_COMPILER_TLS"
++echo "CPPFLAGS verify: start of libgc/configure.in, CPPFLAGS = $CPPFLAGS"
+ AM_INIT_AUTOMAKE(libgc-mono, 6.6, no-define)
+
+ AC_CONFIG_SRCDIR(gcj_mlc.c)