]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix mingw crosscompile for recent mingw.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 7 Jan 2016 10:29:13 +0000 (10:29 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 7 Jan 2016 10:29:13 +0000 (10:29 +0000)
git-svn-id: file:///svn/unbound/trunk@3595 be551aaa-1e26-0410-a405-d3ace91eadb9

makedist.sh

index 5f19dfb682b99e0305e9206431fa4d92952d2c9e..6f483ef3111f7f67e1e87e5bbbd134ddf2983afa 100755 (executable)
@@ -307,8 +307,8 @@ if [ "$DOWIN" = "yes" ]; then
     # procedure for making unbound installer on mingw. 
     info "Creating windows dist unbound $version"
     info "Calling configure"
-    echo "$configure"' --enable-debug --enable-static-exe '"$* $cross_flag"
-    $configure --enable-debug --enable-static-exe $* $cross_flag \
+    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"
     info "Calling make"
     make || error_cleanup "Could not make"