[Scummvm-git-logs] scummvm master -> 7e15168447e8c5266c84f400e05326b53968bbdd

lotharsm serra at scummvm.org
Sun Jun 2 11:43:55 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
7e15168447 CONFIGURE: Remove the 'u' flag from 'ar' in mingw32


Commit: 7e15168447e8c5266c84f400e05326b53968bbdd
    https://github.com/scummvm/scummvm/commit/7e15168447e8c5266c84f400e05326b53968bbdd
Author: Lothar Serra Mari (serra at scummvm.org)
Date: 2019-06-02T11:43:51+02:00

Commit Message:
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.

Changed paths:
    configure


diff --git a/configure b/configure
index 969bc18..5d3f29a 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*)





More information about the Scummvm-git-logs mailing list