Commit 81205c21 authored by Bastien Jacquet's avatar Bastien Jacquet
Browse files

OSX: Removed the hard-coded use of libc++

This prevented Qt to build its bootstrap .pro
because bootstrap .pro enforces a 10.4 DEPLOYMENT_TARGET compatibility, but
-stdlib=libc++ is only available starting with 10.7
clang was just failing on this conflicting demands
parent bee22178
......@@ -34,8 +34,10 @@ if (APPLE)
mark_as_advanced(APPLY_MOUNTAIN_LION_FIX)
# Fix stdlic being wrongly used instead of libc++
# (as it conflicts with boost which always uses libc++)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++")
# REMOVED as this prevents qt to build its bootstrap target compatible with 10.4
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++")
elseif (UNIX)
set (platform "unix")
elseif (WIN32)
......
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