x11-wm/gamescope: unbreak build with meson 1.4.0

ld: error: undefined symbol: std::__1::__libcpp_verbose_abort(char const*, ...)
>>> referenced by VkLayer_FROG_gamescope_wsi.cpp
>>>               layer/libVkLayer_FROG_gamescope_wsi_x86_64.so.p/VkLayer_FROG_gamescope_wsi.cpp.o:(GamescopeWSILayer::VkInstanceOverrides::$_0::__invoke(void*, wl_registry*, unsigned int, char const*, unsigned int))
>>> referenced by VkLayer_FROG_gamescope_wsi.cpp
>>>               layer/libVkLayer_FROG_gamescope_wsi_x86_64.so.p/VkLayer_FROG_gamescope_wsi.cpp.o:(GamescopeWSILayer::$_2::__invoke(void*, gamescope_swapchain*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by VkLayer_FROG_gamescope_wsi.cpp
>>>               layer/libVkLayer_FROG_gamescope_wsi_x86_64.so.p/VkLayer_FROG_gamescope_wsi.cpp.o:(GamescopeWSILayer::$_2::__invoke(void*, gamescope_swapchain*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced 13 more times

PR:		277354
Reported by:	antoine (via exp-run)
Regressed by:	https://github.com/mesonbuild/meson/commit/90098473d51e
This commit is contained in:
Jan Beich 2024-03-15 02:35:40 +01:00
parent 05ba42f81e
commit e90b0b7ab5

View file

@ -89,6 +89,7 @@ CMAKE_BIN= ${LOCALBASE}/bin/cmake
GH_TUPLE+= llvm:llvm-project:llvmorg-16.0.1:libcxx
CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1
# Don't link against new libc++ as it's not necessary
CXXFLAGS+= -D_LIBCPP_HAS_NO_VERBOSE_ABORT_IN_LIBRARY
#LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt
pre-configure: bundled-libcxx