[Scummvm-git-logs] scummvm master -> dce6b012582db79f824677da267d3fd0ad8cf3f7
sev-
sev at scummvm.org
Sat Feb 22 08:44:26 UTC 2020
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:
dce6b01258 BUILD: Apply LDFLAGS on modules/plugins
Commit: dce6b012582db79f824677da267d3fd0ad8cf3f7
https://github.com/scummvm/scummvm/commit/dce6b012582db79f824677da267d3fd0ad8cf3f7
Author: Björn Esser (besser82 at fedoraproject.org)
Date: 2020-02-22T09:44:22+01:00
Commit Message:
BUILD: Apply LDFLAGS on modules/plugins
Some distributions populate their build environment with special
linker flags, e.g. for hardening purposes such as immediate binding
and/or read-only relocations.
Those flags should be honored when linking dynamic libraries.
Changed paths:
rules.mk
diff --git a/rules.mk b/rules.mk
index 1138c8b..c522ef9 100644
--- a/rules.mk
+++ b/rules.mk
@@ -47,7 +47,7 @@ ifdef PLUGIN
PLUGIN-$(MODULE) := plugins/$(PLUGIN_PREFIX)$(notdir $(MODULE))$(PLUGIN_SUFFIX)
$(PLUGIN-$(MODULE)): $(MODULE_OBJS-$(MODULE)) $(PLUGIN_EXTRA_DEPS)
$(QUIET)$(MKDIR) plugins
- $(QUIET_PLUGIN)$(CXX) $(filter-out $(PLUGIN_EXTRA_DEPS),$+) $(PLUGIN_LDFLAGS) -o $@
+ $(QUIET_PLUGIN)$(CXX) $(LDFLAGS) $(filter-out $(PLUGIN_EXTRA_DEPS),$+) $(PLUGIN_LDFLAGS) -o $@
# Reset PLUGIN var
PLUGIN:=
More information about the Scummvm-git-logs
mailing list