From 5b721f44b0b4504ba9b5e10314193c172d887136 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Thu, 12 Feb 2015 17:58:42 +0100 Subject: [PATCH] Silence warnings that always occur on FreeBSD --- pdns/configure-recursor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/configure-recursor b/pdns/configure-recursor index f82a8b8c0..cbef2d3d1 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 -- 2.40.0