]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- OSX clang new flto check.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 11 Dec 2015 13:35:09 +0000 (13:35 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 11 Dec 2015 13:35:09 +0000 (13:35 +0000)
git-svn-id: file:///svn/unbound/trunk@3586 be551aaa-1e26-0410-a405-d3ace91eadb9

acx_nlnetlabs.m4
configure
doc/Changelog

index f17c6552d26d511b8db6c425cda36689966b03d7..be184d2c09a622fd2d32df7d575f096bc2f52225 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright 2009, Wouter Wijngaards, NLnet Labs.   
 # BSD licensed.
 #
-# Version 30
+# Version 31
+# 2015-12-11 FLTO check for new OSX, clang.
 # 2015-11-18 spelling check fix.
 # 2015-11-05 ACX_SSL_CHECKS no longer adds -ldl needlessly.
 # 2015-08-28 ACX_CHECK_PIE and ACX_CHECK_RELRO_NOW added.
@@ -423,7 +424,7 @@ AC_DEFUN([ACX_CHECK_FLTO], [
         BAKCFLAGS="$CFLAGS"
         CFLAGS="$CFLAGS -flto"
         AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [
-            if $CC $CFLAGS -o conftest conftest.c 2>&1 | grep -e "warning: no debug symbols in executable" -e "warning: object" >/dev/null; then
+            if $CC $CFLAGS -o conftest conftest.c 2>&1 | $GREP -e "warning: no debug symbols in executable" -e "warning: object" >/dev/null; then
                 CFLAGS="$BAKCFLAGS"
                 AC_MSG_RESULT(no)
             else
index 35aa23f75cecd6c4789f8250286568a4c23176f5..2e0e34cf40c6642f87cbaa6192988115d1dd8a5d 100755 (executable)
--- a/configure
+++ b/configure
@@ -5873,7 +5873,7 @@ main ()
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
 
-            if $CC $CFLAGS -o conftest conftest.c 2>&1 | grep -e "warning: no debug symbols in executable" -e "warning: object" >/dev/null; then
+            if $CC $CFLAGS -o conftest conftest.c 2>&1 | $GREP -e "warning: no debug symbols in executable" -e "warning: object" >/dev/null; then
                 CFLAGS="$BAKCFLAGS"
                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
index 47277b6fffa25489934111709684c9e958df4f1b..2a964681be56052f4253bbe986ec4b364c2c1996 100644 (file)
@@ -4,6 +4,7 @@
          removes a warning from compilation.
        - OSX portability, detect if sbrk is deprecated.
        - OSX clang, stop -pthread unused during link stage warnings.
+       - OSX clang new flto check.
 
 10 December 2015: Wouter
        - 1.5.7 release