Changeset 161333 in webkit
- Timestamp:
- Jan 6, 2014 12:56:46 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r161325 r161333 1 2014-01-06 Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK] Use libc++ for C++11 on darwin 4 https://bugs.webkit.org/show_bug.cgi?id=126325 5 6 Reviewed by Martin Robinson. 7 8 * Source/autotools/SetupCompilerFlags.m4: Don't default to libstdc++ when compiling with Clang. 9 Instead, the compiler should determine itself what standard library to use, except on Darwin, 10 where libc++ should be enforced. The standard library of user's choosing can still be enforced 11 through the CXXFLAGS environment variable. 12 1 13 2014-01-05 Martin Robinson <mrobinson@igalia.com> 2 14 -
trunk/Source/autotools/SetupCompilerFlags.m4
r160538 r161333 9 9 fi 10 10 11 # libstdc++ is at the moment the only option as the C++ standard library when compiling with Clang.12 11 # Suppress unused arguments warnings for C++ files as well. 13 12 if test "$cxx_compiler" = "clang++"; then 14 CXXFLAGS="$CXXFLAGS -stdlib=libstdc++ -Qunused-arguments" 13 CXXFLAGS="$CXXFLAGS -Qunused-arguments" 14 15 # Default to libc++ as the standard library on Darwin, if it isn't already enforced through CXXFLAGS. 16 if test "$os_darwin" = "yes"; then 17 AS_CASE([$CXXFLAGS], [*-stdlib=*], [], [CXXFLAGS="$CXXFLAGS -stdlib=libc++"]) 18 fi 15 19 fi 16 20
Note: See TracChangeset
for help on using the changeset viewer.