aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLothar Serra Mari2019-05-24 23:49:48 +0200
committerLothar Serra Mari2019-06-02 11:43:51 +0200
commit7e15168447e8c5266c84f400e05326b53968bbdd (patch)
tree8a95cde7eeb048d9e382df1ea90ba3dd6c1b1e35 /configure
parent3e61864ad8f007c36c3e568361a422baf2666a9c (diff)
downloadscummvm-rg350-7e15168447e8c5266c84f400e05326b53968bbdd.tar.gz
scummvm-rg350-7e15168447e8c5266c84f400e05326b53968bbdd.tar.bz2
scummvm-rg350-7e15168447e8c5266c84f400e05326b53968bbdd.zip
CONFIGURE: Remove the 'u' flag from 'ar' in mingw32
This patch silences the warnings about the (outdated?) 'u' flag that appears at least when building and linking ScummVM statically on mingw32: "`u' modifier ignored since `D' is the default (see `U')" The cause for this appears to be a bug in recent versions of libtool that most likely will also appear when building on Linux. However, since I have not tested this yet, this patch only disables it for mingw32. The only downside from this patch is that building a non-clean build will take (slightly?) longer since we are no longer just updating (that's what the 'u' is for) changed libraries during the linking stage, but linking all .a files again.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 969bc1804a..5d3f29aed2 100755
--- a/configure
+++ b/configure
@@ -3228,7 +3228,7 @@ if test -n "$_host"; then
*mingw32*)
_sdlconfig=$_host-sdl-config
_windres=$_host-windres
- _ar="$_host-ar cru"
+ _ar="$_host-ar cr"
_ranlib=$_host-ranlib
;;
mips-sgi*)