From: Ruben Kerkhof Date: Thu, 12 Feb 2015 16:58:42 +0000 (+0100) Subject: Silence warnings that always occur on FreeBSD X-Git-Tag: dnsdist-1.0.0-alpha1~306^2~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2226%2Fhead;p=thirdparty%2Fpdns.git Silence warnings that always occur on FreeBSD --- diff --git a/pdns/configure-recursor b/pdns/configure-recursor index f82a8b8c0e..cbef2d3d17 100755 --- a/pdns/configure-recursor +++ b/pdns/configure-recursor @@ -46,8 +46,8 @@ main () EOF # test for PIE - if $CXX $src -c -o a.out -fPIE -DPIE; then - if [ "$STATIC" != "semi" ] && [ "$STATIC" != "full" ] && $CXX -pie -o a2.out a.out; then + if $CXX $src -c -o a.out -fPIE -DPIE 2>/dev/null; then + if [ "$STATIC" != "semi" ] && [ "$STATIC" != "full" ] && $CXX -pie -o a2.out a.out 2>/dev/null; then CF_PIE="-fPIE -DPIE" LD_PIE="-pie" fi