Permalink
Browse files

Silence warnings that always occur on FreeBSD

(cherry picked from commit 5b721f4)
  • Loading branch information...
1 parent bcca91e commit 99c595b1a2572c68f76a0322f40139388512a017 @rubenk rubenk committed Feb 12, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 99c595b

Please sign in to comment.