mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 18:50:33 -04:00
Details: - Mostly bug fixes including some crashes, but also some small new features: https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.22.3/NEWS
26 lines
595 B
Text
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',
|
|
|