[evolution/wip/gsettings] Bug #616452 - Do not set '-Wl, --no-undefined' on freebsd/openbsd
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Bug #616452 - Do not set '-Wl, --no-undefined' on freebsd/openbsd
- Date: Wed, 29 Jun 2011 16:53:22 +0000 (UTC)
commit 89cc038b39850b294b927c3825601f861985d19c
Author: Milan Crha <mcrha redhat com>
Date: Mon Dec 13 13:07:12 2010 +0100
Bug #616452 - Do not set '-Wl,--no-undefined' on freebsd/openbsd
configure.ac | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 53be442..ea2e5ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -175,7 +175,14 @@ dnl -DE_CAL_DISABLE_DEPRECATED
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
AC_CANONICAL_HOST
AC_DEFINE_UNQUOTED(VERSION_COMMENT, "", [Define if you want a comment appended to the version number])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]