void-packages/srcpkgs/gnuradio/patches/fix-cxx-abi.patch

12 lines
316 B
Diff
Raw Normal View History

--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -61,6 +61,8 @@
# set(CMAKE_C_STANDARD 90)
# set(CMAKE_CXX_STANDARD 98)
+add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
+
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")