misc/soapysdr: fix build with gcc-based architectures

PR:		231666
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Yuri Victorovich
2018-09-24 17:39:58 +00:00
parent 9d188c4f65
commit 2876e206e6

View File

@@ -0,0 +1,13 @@
--- cmake/Modules/SoapySDRConfig.cmake.orig 2018-09-24 13:58:55 UTC
+++ cmake/Modules/SoapySDRConfig.cmake
@@ -110,10 +110,6 @@ if(MSVC)
add_definitions(-DNOMINMAX) #enables std::min and std::max
endif()
-if ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
- add_compile_options(-stdlib=libc++)
-endif()
-
########################################################################
# extract the ABI version string from the Version.h header
########################################################################