Commit 71345f5a authored by jehan's avatar jehan

always set -stdlib=libc++ for IOS

parent 20fb46cb
......@@ -61,6 +61,9 @@ if(NOT ${XCODE_VERSION} VERSION_LESS 7)
endif()
endif()
set(LINPHONE_BUILDER_CXXFLAGS "-stdlib=libc++")
set(LINPHONE_BUILDER_LDFLAGS "-stdlib=libc++")
# Include builders
include(builders/CMakeLists.txt)
......
......@@ -98,7 +98,6 @@ endif()
set(CMAKE_C_COMPILER "${TOOLCHAIN_CC}")
set(CMAKE_C_COMPILER_TARGET "${CLANG_TARGET}")
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_CXX}")
set(CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_COMPILER_TARGET "${CLANG_TARGET}")
set(CMAKE_AR "${TOOLCHAIN_AR}" CACHE FILEPATH "ar")
set(CMAKE_RANLIB "${TOOLCHAIN_RANLIB}" CACHE FILEPATH "ranlib")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment