Files
ports/multimedia/mkvtoolnix/patches/patch-Rakefile
T
2026-05-22 14:14:20 +00:00

26 lines
1.0 KiB
Plaintext

`configure' defines LLVM_LLD, that can only be overridden with another path.
Ensure that the default and working linker is used on all clang archs.
Index: Rakefile
--- Rakefile.orig
+++ Rakefile
@@ -180,7 +180,6 @@ def setup_globals
ldflags = ""
ldflags += determine_stack_protector_flags
ldflags += " -pg" if c?(:USE_PROFILING)
- ldflags += " -fuse-ld=lld" if is_clang? && !c(:LLVM_LLD).empty? && !$building_for[:macos]
ldflags += " -Llib/libebml/src -Llib/libmatroska/src" if c?(:EBML_MATROSKA_INTERNAL)
ldflags += " -Llib/fmt/src" if c?(:FMT_INTERNAL)
ldflags += " #{c(:EXTRA_LDFLAGS)} #{c(:USER_LDFLAGS)} #{c(:LDFLAGS_RPATHS)} #{c(:BOOST_LDFLAGS)}"
@@ -1122,10 +1121,8 @@ $common_libs = [
:intl,
:iconv,
:fmt,
- :stdcppfs,
:qt_non_gui,
:gmp,
- "-lstdc++",
]
$common_libs += [:cmark] if c?(:BUILD_GUI)