[Mono-dev] Sorry, the name LIBGC_CPPFLAGS cause something wrong

KISHIMOTO, Makoto ksmakoto at dd.iij4u.or.jp
Tue Jan 24 14:00:58 UTC 2012


Hello,

Thanks to accept my patch. But sorry, the name "LIBGC_CPPFLAGS" makes
something trouble.

Next diff is difference of result of LIBGC_INCLUDES or LIBGC_CPPFLAGS

--- BUILD-1/Makefile	2012-01-24 21:47:57.000000000 +0900
+++ BUILD-2/Makefile	2012-01-24 22:00:41.000000000 +0900
@@ -174,7 +174,7 @@
 LD = /usr/bin/ld
 LDFLAGS =  -pthread
 LIBC = libc.so
-LIBGC_INCLUDES = -I$(top_srcdir)/libgc/include
+LIBGC_CPPFLAGS = -DGC_FREEBSD_THREADS -DPLATFORM_BSD -I/usr/local/include -D__default_codegen__
 LIBGC_LIBS = $(top_builddir)/libgc/libmonogc.la
 LIBGC_STATIC_LIBS = $(top_builddir)/libgc/libmonogc-static.la
 LIBICONV = /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib

When variable name is LIBGC_INCLUDES, the result is correct. But when
variable name is LIBGC_CPPFLAGS, autotools overwrite results, and
build failed.


More information about the Mono-devel-list mailing list