From: Ruben Kerkhof Date: Sat, 24 Jan 2015 16:58:18 +0000 (+0100) Subject: Remove a.out and a2.out at the end of the function X-Git-Tag: rec-3.7.0-rc2~42^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11edeac1e63e7804a797f866b1955fe0bc938d8c;p=thirdparty%2Fpdns.git Remove a.out and a2.out at the end of the function --- diff --git a/pdns/configure-recursor b/pdns/configure-recursor index b0861fba17..64dbc9ab46 100755 --- a/pdns/configure-recursor +++ b/pdns/configure-recursor @@ -47,14 +47,11 @@ EOF if [ "$STATIC" != "semi" ] && [ "$STATIC" != "full" ] && $CXX -pie -o a2.out a.out; then LD_PIE="-pie" fi - rm -f a2.out - rm -f a.out fi # test for fortified source if $CXX $src -c -o a.out -O3 -D_FORTIFY_SOURCE=2; then CF_FORTIFY="-D_FORTIFY_SOURCE=2" - rm -f a.out fi # test for stack protector @@ -63,10 +60,9 @@ EOF if $CXX $src -c -o a.out -O3 -fstack-protector --param ssp-buffer-size=4; then CF_STACK="$CF_STACK --param ssp-buffer-size=4" fi - rm -f a.out fi - rm -f $src + rm -f $src a.out a2.out } test_flags