summaryrefslogtreecommitdiff
path: root/boehm-gc/configure.ac
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-17 09:21:25 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-17 09:21:25 +0000
commit91f9882f4617495662e55e96fbf1eda4700d2cdf (patch)
treeebae774376bec40f89e9e99ecacacfb1578efa13 /boehm-gc/configure.ac
parent4600cfb46bf223de57c14b12f230a0156a7ed3e0 (diff)
downloadgcc-91f9882f4617495662e55e96fbf1eda4700d2cdf.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149737 138bc75d-0d04-0410-961f-82ee72b054a4
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}