Date: Mon, 9 Aug 2010 22:38:07 +0900 From: Norikatsu Shigemura <nork@FreeBSD.org> To: mono@FreeBSD.org Cc: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>, nork@FreeBSD.org Subject: [ports/multimedia/moonlight] Fix build error with devel/boehm-gc Message-ID: <20100809223807.75a1651f.nork@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi mono team. I investigated that mono building with devel/boehem-gc like http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/148124 . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /bin/sh ../../libtool --quiet --tag=CC --mode=compile gcc DEFS: -DHAVE_CONFIG_H DEFAULT_INCLUDES -I. -I../.. INCLUDES: AM_CPPFLAGS: CPPFLAGS: -I/usr/local/include -DGC_FREEBSD_THREADS -DPLATFORM_BSD AM_CFLAGS: -I../.. -I../../libgc/include CFLAGS: -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF .deps/mini.Tpo -c -o mini.lo mini.c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - So I swap CPPFLAGS and AM_CFLAGS like following: - - - - - - - --- ../mono-2.6.1/mono/mini/Makefile.in.orig 2010-03-03 02:13:10.000000000 +0900 +++ ../mono-2.6.1/mono/mini/Makefile.in 2010-08-09 07:27:44.909619188 +0900 @@ -258,7 +258,7 @@ am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - - - - - - - -- Norikatsu Shigemura <nork@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100809223807.75a1651f.nork>
