[Scummvm-git-logs] scummvm master -> 84baac903add68e5b83c53fef144b9eb0b24959a
lephilousophe
noreply at scummvm.org
Sat Jun 18 15:43:31 UTC 2022
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:
bab7027bab PLUGINS: Fix PLUGIN_LDFLAGS value inherited from environment
84baac903a RISCOS: Add LDFLAGS to plugins too
Commit: bab7027bab8b3636146439dbcf2e77ea0f49a1c6
https://github.com/scummvm/scummvm/commit/bab7027bab8b3636146439dbcf2e77ea0f49a1c6
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-06-18T17:38:12+02:00
Commit Message:
PLUGINS: Fix PLUGIN_LDFLAGS value inherited from environment
It was not always taken into account because lines in _mak_plugins were
overwriting it
Changed paths:
configure
diff --git a/configure b/configure
index 284b9d5178a..bb7a928cb5d 100755
--- a/configure
+++ b/configure
@@ -4137,7 +4137,7 @@ POST_OBJS_FLAGS :=
append_var DEFINES "-DUNCACHED_PLUGINS"
_mak_plugins='
PLUGIN_EXTRA_DEPS = $(abspath $(srcdir)/backends/platform/dc/plugin.x $(srcdir)/backends/platform/dc/plugin.syms) $(EXECUTABLE) backends/platform/dc/plugin_head.o
-PLUGIN_LDFLAGS = -ml -m4-single-only -nostartfiles -Wl,-q,-T$(srcdir)/backends/platform/dc/plugin.x,--just-symbols,$(EXECUTABLE),--retain-symbols-file,$(srcdir)/backends/platform/dc/plugin.syms backends/platform/dc/plugin_head.o
+PLUGIN_LDFLAGS += -ml -m4-single-only -nostartfiles -Wl,-q,-T$(srcdir)/backends/platform/dc/plugin.x,--just-symbols,$(EXECUTABLE),--retain-symbols-file,$(srcdir)/backends/platform/dc/plugin.syms backends/platform/dc/plugin_head.o
PRE_OBJS_FLAGS := -Wl,--whole-archive
POST_OBJS_FLAGS := -Wl,--no-whole-archive
'
@@ -4225,7 +4225,7 @@ POST_OBJS_FLAGS := -Wl,-no-whole-archive
_plugin_suffix=".dll"
_mak_plugins='
PLUGIN_EXTRA_DEPS = $(EXECUTABLE)
-PLUGIN_LDFLAGS := -Wl,--enable-auto-import -shared ./libscummvm.a
+PLUGIN_LDFLAGS += -Wl,--enable-auto-import -shared ./libscummvm.a
PRE_OBJS_FLAGS := -Wl,--whole-archive
POST_OBJS_FLAGS := -Wl,--export-all-symbols -Wl,--no-whole-archive -Wl,--out-implib,./libscummvm.a
'
@@ -4278,7 +4278,7 @@ if test "$_elf_loader" = yes; then
_plugin_suffix=".plg"
_mak_plugins='
PLUGIN_EXTRA_DEPS = $(EXECUTABLE)
-PLUGIN_LDFLAGS = -nostartfiles backends/plugins/elf/version.o -Wl,-q,--retain-symbols-file,$(srcdir)/backends/plugins/elf/plugin.syms -Xlinker --just-symbols -Xlinker $(EXECUTABLE)
+PLUGIN_LDFLAGS += -nostartfiles backends/plugins/elf/version.o -Wl,-q,--retain-symbols-file,$(srcdir)/backends/plugins/elf/plugin.syms -Xlinker --just-symbols -Xlinker $(EXECUTABLE)
PRE_OBJS_FLAGS := -Wl,--whole-archive
POST_OBJS_FLAGS := -Wl,--no-whole-archive
'"$_mak_plugins"
@@ -6399,7 +6399,7 @@ OBJS += $OBJS
DEFINES += $DEFINES
LDFLAGS += $LDFLAGS
-PLUGIN_LDFLAGS += $PLUGIN_LDFLAGS
+PLUGIN_LDFLAGS = $PLUGIN_LDFLAGS
$_mak_plugins
port_mk = $_port_mk
Commit: 84baac903add68e5b83c53fef144b9eb0b24959a
https://github.com/scummvm/scummvm/commit/84baac903add68e5b83c53fef144b9eb0b24959a
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-06-18T17:42:38+02:00
Commit Message:
RISCOS: Add LDFLAGS to plugins too
Changed paths:
configure
diff --git a/configure b/configure
index bb7a928cb5d..1e80a70d408 100755
--- a/configure
+++ b/configure
@@ -3196,6 +3196,7 @@ if test -n "$_host"; then
# -O2 causes internal compiler error on VFP only with gcc 4.7
_optimization_level=-O1
append_var LDFLAGS "-L$GCCSDK_INSTALL_ENV/vfp/lib"
+ append_var PLUGIN_LDFLAGS "-L$GCCSDK_INSTALL_ENV/vfp/lib"
append_var CXXFLAGS "-isystem $GCCSDK_INSTALL_ENV/vfp/include"
if test -z "$PKG_CONFIG_LIBDIR"; then
PKG_CONFIG_LIBDIR="$GCCSDK_INSTALL_ENV/vfp/lib/pkgconfig"
@@ -3207,10 +3208,12 @@ if test -n "$_host"; then
append_var CXXFLAGS "-mtune=cortex-a9"
append_var CXXFLAGS "-mfpu=vfp"
append_var LDFLAGS "-mfpu=vfp"
+ append_var PLUGIN_LDFLAGS "-mfpu=vfp"
append_var ASFLAGS "-mfpu=vfp"
;;
arm-*riscos)
append_var LDFLAGS "-L$GCCSDK_INSTALL_ENV/lib"
+ append_var PLUGIN_LDFLAGS "-L$GCCSDK_INSTALL_ENV/lib"
append_var CXXFLAGS "-isystem $GCCSDK_INSTALL_ENV/include"
if test -z "$PKG_CONFIG_LIBDIR"; then
PKG_CONFIG_LIBDIR="$GCCSDK_INSTALL_ENV/lib/pkgconfig"
More information about the Scummvm-git-logs
mailing list