[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: macOS llvm/gcc does not sup
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: macOS llvm/gcc does not support this flag; llvm checks unresolved symbols without it |
Date: |
Thu, 04 Apr 2019 14:31:21 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 39563a21d macOS llvm/gcc does not support this flag; llvm checks
unresolved symbols without it
39563a21d is described below
commit 39563a21d707c3beeb73c5e00685f5ad2c28e3fb
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Apr 4 14:31:18 2019 +0200
macOS llvm/gcc does not support this flag; llvm checks unresolved symbols
without it
---
configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index f4ce60520..d9e6af74d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,6 @@ AC_FUNC_FSEEKO
CFLAGS="-Wall $CFLAGS"
-LDFLAGS="$LDFLAGS -Wl,--unresolved-symbols=report-all"
# use '-fno-strict-aliasing', but only if the compiler can take it
if gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1;
then
@@ -65,12 +64,16 @@ funcstocheck="getnameinfo gethostname gethostbyname
gethostbyaddr getaddrinfo ge
# Srcdir in a form that native compiler understands (i.e. DOS path on W32)
native_srcdir=$srcdir
+OLD_LDFLAGS="$LDFLAGS"
+LDFLAGS="$LDFLAGS -Wl,--unresolved-symbols=report-all"
+
# Check system type
case "$host_os" in
*darwin* | *rhapsody* | *macosx*)
AC_DEFINE_UNQUOTED(DARWIN,1,[This is an Apple Darwin system])
CPPFLAGS="-D_APPLE_C_SOURCE $CPPFLAGS"
CFLAGS="-fno-common $CFLAGS"
+ LDFLAGS="$OLD_LDFLAGS"
AC_MSG_WARN([WARNING: The VPN application cannot be compiled on your OS])
AC_CHECK_LIB(intl, gettext)
build_target="darwin"
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: macOS llvm/gcc does not support this flag; llvm checks unresolved symbols without it,
gnunet <=