summaryrefslogtreecommitdiff
path: root/recipes/mono/files/libgc_cppflags.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/mono/files/libgc_cppflags.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/mono/files/libgc_cppflags.patch')
-rw-r--r--recipes/mono/files/libgc_cppflags.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes/mono/files/libgc_cppflags.patch b/recipes/mono/files/libgc_cppflags.patch
new file mode 100644
index 0000000000..d4a51179d1
--- /dev/null
+++ b/recipes/mono/files/libgc_cppflags.patch
@@ -0,0 +1,46 @@
+Index: mono-1.9.1/configure.in
+===================================================================
+--- mono-1.9.1.orig/configure.in 2008-07-16 23:37:52.000000000 -0400
++++ mono-1.9.1/configure.in 2008-07-16 23:38:23.000000000 -0400
+@@ -660,13 +660,6 @@
+ ;;
+
+ xincluded)
+- AC_CONFIG_SUBDIRS(libgc)
+-
+- # Pass CPPFLAGS to libgc configure
+- # Maybe we should use a separate variable for this to avoid passing useless and
+- # potentially problematic defines to libgc (like -D_FILE_OFFSET_BITS=64)
+- export CPPFLAGS
+-
+ found_boehm=yes
+ gc_headers=yes
+ use_included_gc=yes
+@@ -714,9 +707,6 @@
+ CPPFLAGS="$CPPFLAGS -DLARGE_CONFIG"
+ fi
+
+-# tell libgc/configure about what we want
+-ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args"
+-
+ AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes)
+ AC_SUBST(LIBGC_CFLAGS)
+ AC_SUBST(LIBGC_LIBS)
+@@ -1970,6 +1960,17 @@
+ CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
+ fi
+
++case "x$gc" in
++ xincluded)
++ # Pass CPPFLAGS to libgc configure
++ # We should use a separate variable for this to avoid passing useless and
++ # potentially problematic defines to libgc (like -D_FILE_OFFSET_BITS=64)
++ # This should be executed late so we pick up the final version of CPPFLAGS
++ ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args \"CPPFLAGS=$CPPFLAGS\""
++ AC_CONFIG_SUBDIRS(libgc)
++ ;;
++esac
++
+ PREVIEW=yes
+ AC_ARG_WITH(preview, [ --with-preview=yes,no If you want to install the 2.0 FX preview],[
+ if test x$with_preview = xno; then