From c76a1cb07bec61ebda8c608af38fe449bfa188ee Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 26 Apr 2024 03:06:20 -0700 Subject: audio/noise-suppression-for-voice-lv2: workaround for clang-18 crash on 15 PR: 278333 --- audio/noise-suppression-for-voice-lv2/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/audio/noise-suppression-for-voice-lv2/Makefile b/audio/noise-suppression-for-voice-lv2/Makefile index 333f3725274d..62f77a75cee0 100644 --- a/audio/noise-suppression-for-voice-lv2/Makefile +++ b/audio/noise-suppression-for-voice-lv2/Makefile @@ -39,6 +39,13 @@ LADSPA_CMAKE_BOOL= BUILD_LADSPA_PLUGIN VST3_CMAKE_BOOL= BUILD_VST3_PLUGIN VST3_BROKEN= fails to build with juce-7.0.6, see https://github.com/werman/noise-suppression-for-voice/issues/177 +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 180 +# Work around https://github.com/llvm/llvm-project/issues/88592 +CXXFLAGS+= -fclang-abi-compat=17 +.endif + post-extract: # remove bundled JUCE @${RM} -rf ${WRKSRC}/external/JUCE @@ -60,4 +67,4 @@ post-install-VST3-on: # the LADSPA plugin can be used directly from PulseAudio's config file -.include +.include -- cgit v1.2.3