From: Wouter Wijngaards Date: Thu, 7 Jan 2016 10:29:13 +0000 (+0000) Subject: - Fix mingw crosscompile for recent mingw. X-Git-Tag: release-1.5.8~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304bcf65f2b7839777e0e71f5eaa6b1e6f78e60c;p=thirdparty%2Funbound.git - Fix mingw crosscompile for recent mingw. git-svn-id: file:///svn/unbound/trunk@3595 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/makedist.sh b/makedist.sh index 5f19dfb68..6f483ef31 100755 --- a/makedist.sh +++ b/makedist.sh @@ -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"