]> granicus.if.org Git - pdns/commitdiff
No need to export variables
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 24 Jan 2015 16:53:11 +0000 (17:53 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 24 Jan 2015 16:54:43 +0000 (17:54 +0100)
We're not using these variables in any child processes

pdns/configure-recursor

index c966d09d04156fa61b8a9d4dd46a311960e1b7d9..b0861fba176a9fce4af8bbf25413db1a7054c8a8 100755 (executable)
@@ -44,10 +44,8 @@ EOF
 
   if $CXX $src -c -o a.out -fPIE -fPIC -DPIE; then
     CF_PIE="-fPIE -fPIC -DPIE"
-    export CF_PIE
     if [ "$STATIC" != "semi" ] && [ "$STATIC" != "full" ] && $CXX -pie -o a2.out a.out; then
       LD_PIE="-pie"
-      export LD_PIE
     fi
     rm -f a2.out
     rm -f a.out
@@ -56,7 +54,6 @@ EOF
   # test for fortified source
   if $CXX $src -c -o a.out -O3 -D_FORTIFY_SOURCE=2; then
     CF_FORTIFY="-D_FORTIFY_SOURCE=2"
-    export CF_FORTIFY
     rm -f a.out
   fi
 
@@ -66,7 +63,6 @@ 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
-    export CF_STACK
     rm -f a.out
   fi