summaryrefslogtreecommitdiff
path: root/boehm-gc/configure.ac
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-07-17 09:21:25 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2009-07-17 11:21:25 +0200
commite59be1b11960eb9b2a2fbb0b80b482508b704d3d (patch)
treeebae774376bec40f89e9e99ecacacfb1578efa13 /boehm-gc/configure.ac
parent182bf21f324469734ab0624023c0a416909d76d2 (diff)
downloadgcc-e59be1b11960eb9b2a2fbb0b80b482508b704d3d.tar.gz
configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to cflags.
2009-07-17 Kai Tietz <kai.tietz@onevision.com> * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to cflags. * configure: Regenerated. From-SVN: r149737
Diffstat (limited to 'boehm-gc/configure.ac')
-rw-r--r--boehm-gc/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/boehm-gc/configure.ac b/boehm-gc/configure.ac
index 326a051f767..2206f76eaa2 100644
--- a/boehm-gc/configure.ac
+++ b/boehm-gc/configure.ac
@@ -84,6 +84,13 @@ case "${host}" in
;;
esac
+dnl Add for mingw targets GC_BUILD option
+case "${host}" in
+ *-*-mingw*)
+ gc_cflags="${gc_cflags} -DGC_BUILD=1"
+ ;;
+esac
+
dnl gc_cflags="${gc_cflags} -fno-builtin"
GC_CFLAGS=${gc_cflags}