From 11edeac1e63e7804a797f866b1955fe0bc938d8c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 24 Jan 2015 17:58:18 +0100 Subject: [PATCH] Remove a.out and a2.out at the end of the function --- pdns/configure-recursor | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.47.2