void-packages/srcpkgs/gnuradio/patches/fix-cxx-abi.patch
Andrew Benson a489de379a New package: gnuradio-3.7.12git
- Use pre-CXX11 ABI
- Use don't build internal volk package.

Closes: #11693 [via git-merge-pr]
2018-02-16 22:55:26 +01:00

11 lines
316 B
Diff

--- 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")