Closed thesamesam closed 2 years ago
LDFLAGS must come before any objects and libraries, as some take effect based on arguments afterwards.
For example, -Wl,--as-needed (which some distributions set by default, even) will discard (or not know about) any objects listed before it.
Bug: https://bugs.gentoo.org/661536 Signed-off-by: Sam James sam@gentoo.org
LDFLAGS must come before any objects and libraries, as some take effect based on arguments afterwards.
For example, -Wl,--as-needed (which some distributions set by default, even) will discard (or not know about) any objects listed before it.
Bug: https://bugs.gentoo.org/661536 Signed-off-by: Sam James sam@gentoo.org