diff options
author | Andreas Tobler <a.tobler@schweiz.org> | 2007-05-20 10:34:05 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2007-05-20 12:34:05 +0200 |
commit | 536307155bf5097c448125d694191ccccc9fc38b (patch) | |
tree | 3ebc8443613c9af9453483fbd67724d06ef1f6ec /boehm-gc/configure.ac | |
parent | 6495bc0b8df118643ca7aa1d9f311eb2f0344e3b (diff) | |
download | gcc-536307155bf5097c448125d694191ccccc9fc38b.tar.gz |
configure.ac: Introduce extra_ldflags_libgc.
2007-05-20 Andreas Tobler <a.tobler@schweiz.org>
* configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
* configure: Regenerate.
* Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
targets. Remove comments. Prepare ppc64 support for Darwin.
From-SVN: r124870
Diffstat (limited to 'boehm-gc/configure.ac')
-rw-r--r-- | boehm-gc/configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/boehm-gc/configure.ac b/boehm-gc/configure.ac index d4dd16b9e06..5c26b8454fc 100644 --- a/boehm-gc/configure.ac +++ b/boehm-gc/configure.ac @@ -300,6 +300,14 @@ case "$host" in ;; esac +# extra LD Flags which are required for targets +case "${host}" in + *-*-darwin*) + extra_ldflags_libgc=-Wl,-single_module + ;; +esac +AC_SUBST(extra_ldflags_libgc) + AC_SUBST(EXTRA_TEST_LIBS) target_all=libgcjgc.la |