]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Clean makedist.sh.
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Wed, 31 Mar 2021 11:37:08 +0000 (13:37 +0200)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Wed, 31 Mar 2021 11:37:08 +0000 (13:37 +0200)
doc/Changelog
makedist.sh

index fd10160fba1df0c1b81fe4620138852f7f0a0858..b2f9c2e6c94780ec69213e977fef53b5a8808abb 100644 (file)
@@ -1,3 +1,6 @@
+31 March 2021: George
+       - Clean makedist.sh.
+
 31 March 2021: Wouter
        - Fix stack-protector change to not override other CFLAGS options.
 
index d490f4aad0a72cb02a8d8cea7dd51854dc7bed77..6b7e0a83de97d58f0861bca4f256a93259b6e3a1 100755 (executable)
@@ -362,41 +362,35 @@ if [ "$DOWIN" = "yes" ]; then
        file3_flag="--with-rootcert-file=C:\Program Files (x86)\Unbound\icannbundle.pem"
        version="$version"-w32
     fi
-    echo "$configure"' --enable-debug --enable-static-exe --disable-flto '"$* $cross_flag "$file_flag" "$file2_flag" "$file3_flag""
     if test "$W64" = "no"; then
-       # Disable stack-protector for 32-bit windows builds.
-       $configure --enable-debug --enable-static-exe --disable-flto $* $cross_flag "$file_flag" "$file2_flag" "$file3_flag" CFLAGS='-O2 -g -fno-stack-protector'\
-       || error_cleanup "Could not configure"
+               # Disable stack-protector for 32-bit windows builds.
+               echo "$configure"' --enable-debug --enable-static-exe --disable-flto '"$* $cross_flag" "$file_flag" "$file2_flag" "$file3_flag" CFLAGS='-O2 -g -fno-stack-protector'
+               $configure --enable-debug --enable-static-exe --disable-flto $* $cross_flag "$file_flag" "$file2_flag" "$file3_flag" CFLAGS='-O2 -g -fno-stack-protector'\
+               || error_cleanup "Could not configure"
     else
-        $configure --enable-debug --enable-static-exe --disable-flto $* $cross_flag \
-       || error_cleanup "Could not configure"
+               echo "$configure"' --enable-debug --enable-static-exe --disable-flto '"$* $cross_flag"
+               $configure --enable-debug --enable-static-exe --disable-flto $* $cross_flag \
+               || error_cleanup "Could not configure"
     fi
     info "Calling make"
-       if test "$W64" = "no"; then
-               make $MINJ || error_cleanup "Could not make"
-       else
-               make $MINJ || error_cleanup "Could not make"
-       fi
+       make $MINJ || error_cleanup "Could not make"
     info "Make complete"
 
     if test "`uname`" = "Linux"; then 
     info "Make DLL"
     cd ../unbound_shared
-    echo "$configure"' --enable-debug --disable-flto '"$* $shared_cross_flag "$file_flag" "$file2_flag" "$file3_flag""
     if test "$W64" = "no"; then
        # Disable stack-protector for 32-bit windows builds.
-       $configure --enable-debug --disable-flto $* $shared_cross_flag "$file_flag" "$file2_flag" "$file3_flag" CFLAGS='-O2 -g -fno-stack-protector'\
-       || error_cleanup "Could not configure"
+               echo "$configure"' --enable-debug --disable-flto '"$* $shared_cross_flag" "$file_flag" "$file2_flag" "$file3_flag" CFLAGS='-O2 -g -fno-stack-protector'
+               $configure --enable-debug --disable-flto $* $shared_cross_flag "$file_flag" "$file2_flag" "$file3_flag" CFLAGS='-O2 -g -fno-stack-protector'\
+               || error_cleanup "Could not configure"
     else
+               echo "$configure"' --enable-debug --disable-flto '"$* $shared_cross_flag"
         $configure --enable-debug --disable-flto $* $shared_cross_flag \
-       || error_cleanup "Could not configure"
+               || error_cleanup "Could not configure"
     fi
     info "Calling make for DLL"
-       if test "$W64" = "no"; then
-               make $MINJ || error_cleanup "Could not make DLL"
-       else
-               make $MINJ || error_cleanup "Could not make DLL"
-       fi
+       make $MINJ || error_cleanup "Could not make DLL"
     info "Make DLL complete"
     cd ../unbound
     fi