[Scummvm-git-logs] scummvm master -> 0b90777721c848514a8d3716e01d3b6c94d59abb
lotharsm
mail at serra.me
Thu Sep 2 16:52:44 UTC 2021
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:
0b90777721 CONFIGURE: Drop `u` flag for ar
Commit: 0b90777721c848514a8d3716e01d3b6c94d59abb
https://github.com/scummvm/scummvm/commit/0b90777721c848514a8d3716e01d3b6c94d59abb
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-09-02T18:52:41+02:00
Commit Message:
CONFIGURE: Drop `u` flag for ar
On replace mode (r), u tells ar to replace object files only if the source
file is newer than the one in the archive.
When binutils is configured with --enable-deterministic-archives, the
default mode for ar is D (deterministic), which means that all the files
are stored with zero for UID, GID and timestamp. This means that ar has no
way to tell if the archived file is older than the source file, so it just
archives all the input files and issues the following warning:
`u' modifier ignored since `D' is the default (see `U')
Fix by dropping this flag. The performance gain is negligible anyway.
Changed paths:
configure
diff --git a/configure b/configure
index ef24f2adc5..b93468d6df 100755
--- a/configure
+++ b/configure
@@ -227,7 +227,7 @@ _windows_unicode=yes
# Default commands
_ranlib=ranlib
_strip=strip
-_ar="ar cru"
+_ar="ar cr"
_as="as"
_dwp=dwp
_windres=windres
@@ -1757,7 +1757,7 @@ else
# if _host_alias was set, default to the standard GNU tools
_ranlib=$_host_alias-ranlib
_strip=$_host_alias-strip
- _ar="$_host_alias-ar cru"
+ _ar="$_host_alias-ar cr"
_as="$_host_alias-as"
_dwp=$_host_alias-dwp
_windres=$_host_alias-windres
@@ -2028,7 +2028,7 @@ if test -n "$STRIP"; then
fi
if test -n "$AR"; then
- _ar="$AR cru"
+ _ar="$AR cr"
fi
if test -n "$AS"; then
@@ -3272,7 +3272,7 @@ if test -n "$_host"; then
_backend="sdl"
HOSTEXEPRE=
HOSTEXEEXT=.html
- _ar="emar cru"
+ _ar="emar cr"
_ranlib="emranlib"
_opengl_mode=gles2
_opengl_game_es2=yes
@@ -3554,7 +3554,7 @@ if test -n "$_host"; then
_timidity=no
_port_mk="backends/platform/sdl/psp2/psp2.mk"
#the -gcc- variants allow link time optimization
- _ar="$_host_alias-gcc-ar cru"
+ _ar="$_host_alias-gcc-ar cr"
_ranlib=$_host_alias-gcc-ranlib
;;
psp)
More information about the Scummvm-git-logs
mailing list