[evolution-data-server] Bug #616452 - Do not set '-Wl, --no-undefined' on freebsd/openbsd
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #616452 - Do not set '-Wl, --no-undefined' on freebsd/openbsd
- Date: Mon, 13 Dec 2010 12:06:25 +0000 (UTC)
commit f4a317d849511a9cd13dbbd10fae17afa141b973
Author: Milan Crha <mcrha redhat com>
Date: Mon Dec 13 13:05:08 2010 +0100
Bug #616452 - Do not set '-Wl,--no-undefined' on freebsd/openbsd
configure.ac | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 537fa29..f34eb1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,7 +199,15 @@ dnl -Wstrict-aliasing=2
AM_CPPFLAGS="$WARNING_FLAGS -fno-strict-aliasing"
AC_SUBST(AM_CPPFLAGS)
-LDFLAGS="$LDFLAGS -Wl,--no-undefined"
+
+case "$host" in
+*openbsd*|*freebsd*)
+ dnl Do not set '-Wl,--no-undefined' on freebsd/openbsd
+ ;;
+*)
+ LDFLAGS="$LDFLAGS -Wl,--no-undefined"
+ ;;
+esac
dnl ******************************
dnl Initialize maintainer mode
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]