[Scummvm-cvs-logs] scummvm master -> 35cbb47e685b6925fda665bcf6a946a60fb15c9b

lordhoto lordhoto at gmail.com
Thu Jan 7 11:52:31 CET 2016


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

Summary:
44e2256e73 AMIGAOS: Static builds preferred
35cbb47e68 Merge pull request #643 from raziel-/patch-2


Commit: 44e2256e731c5bbadb9ac23736e340aac1ccba6c
    https://github.com/scummvm/scummvm/commit/44e2256e731c5bbadb9ac23736e340aac1ccba6c
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2016-01-03T13:44:24+02:00

Commit Message:
AMIGAOS: Static builds preferred

Reasons:
- Shared objects aren't really shared on AmigaOS
(Once two programs load the same .so, it will be loaded twice into memory instead of sharing the already available one)
- To make the program run for everyone i need to provide a subdir (SObjs/) which holds all the .so's used while compiling, otherwise some people have to go hunting for the correct .so's online.
(That completely defies the use of "shared objects")
Even worse is the fact that, if users have older .so's installed, they might experience crashes.
- There is no benefit in building ScummVM with shared objects, because even *if* a new lib version is available as an .so it won't be mandatory to immediately switch to it, because the code probably won't take advantage of it as fast.

In short:
Switchting to static builds to reduce user grief, crash reports and as a bonus have ScummVM start a little faster.

Changed paths:
    configure



diff --git a/configure b/configure
index abc38fe..eb41018 100755
--- a/configure
+++ b/configure
@@ -2107,7 +2107,7 @@ echo_n "Checking hosttype... "
 echo $_host_os
 case $_host_os in
 	amigaos*)
-		append_var LDFLAGS "-use-dynld -Wl,--export-dynamic"
+		append_var LDFLAGS "-Wl,--export-dynamic"
 		append_var LDFLAGS "-L/sdk/local/newlib/lib"
 		# We have to use 'long' for our 4 byte typedef because AmigaOS already typedefs (u)int32
 		# as (unsigned) long, and consequently we'd get a compiler error otherwise.


Commit: 35cbb47e685b6925fda665bcf6a946a60fb15c9b
    https://github.com/scummvm/scummvm/commit/35cbb47e685b6925fda665bcf6a946a60fb15c9b
Author: Johannes Schickel (lordhoto at gmail.com)
Date: 2016-01-07T11:52:01+01:00

Commit Message:
Merge pull request #643 from raziel-/patch-2

AMIGAOS: Static builds preferred

Changed paths:
    configure









More information about the Scummvm-git-logs mailing list