Skip to content

Commit fe05e0b

Browse files
slipherillwieckz
authored andcommitted
Remove -stdlib=libc++ flag on Mac
This is the default since Mac OS 10.9 and we don't support any versions older than that. In newer versions of Clang, it causes warning spam about an unused flag so remove it.
1 parent f397a67 commit fe05e0b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/DaemonFlags.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,6 @@ else()
262262
# PNaCl only supports libc++ as standard library.
263263
set_c_cxx_flag("-stdlib=libc++")
264264
set_c_cxx_flag("--pnacl-allow-exceptions")
265-
elseif (APPLE)
266-
# Use libc++ on Mac because the shipped libstdc++ version is too old.
267-
set_c_cxx_flag("-stdlib=libc++")
268-
set_linker_flag("-stdlib=libc++")
269265
endif()
270266

271267
# Prevent the generation of STB_GNU_UNIQUE symbols

0 commit comments

Comments
 (0)