From 304bcf65f2b7839777e0e71f5eaa6b1e6f78e60c Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 7 Jan 2016 10:29:13 +0000 Subject: [PATCH] - Fix mingw crosscompile for recent mingw. git-svn-id: file:///svn/unbound/trunk@3595 be551aaa-1e26-0410-a405-d3ace91eadb9 --- makedist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.47.2