ports/audio/musicpd/files/patch-meson.build
Thomas Zander 7cf5511273 Update to upstream release 0.22.3
Details:
- Mostly bug fixes including some crashes, but also some small new features:
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.22.3/NEWS
2020-11-08 12:48:20 +00:00

26 lines
595 B
Text

--- meson.build.orig 2020-11-06 15:12:54 UTC
+++ meson.build
@@ -79,10 +79,14 @@ test_cxxflags = test_common_flags + [
'-Wno-non-virtual-dtor',
]
+test_ldflags = [
+]
+
if compiler.get_id() == 'clang'
# Workaround for clang bug
# https://bugs.llvm.org/show_bug.cgi?id=32611
test_cxxflags += '-funwind-tables'
+ test_ldflags += '-fuse-ld=%%MPD_CLANG_LD%%'
endif
test_cflags = test_common_flags + [
@@ -95,7 +99,7 @@ test_cflags = test_common_flags + [
'-pedantic',
]
-test_ldflags = [
+test_ldflags += [
# make relocations read-only (hardening)
'-Wl,-z,relro',