Skip to content

Commit 36b8468

Browse files
committed
Merge branch 'master' into for-0.56.0/sync
2 parents 4125a55 + fe05e0b commit 36b8468

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

cmake/DaemonFlags.cmake

Lines changed: 3 additions & 5 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
@@ -340,7 +336,9 @@ else()
340336

341337
if (NOT NACL OR (NACL AND GAME_PIE))
342338
try_c_cxx_flag(FPIE "-fPIE")
343-
try_linker_flag(LINKER_PIE "-pie")
339+
if (NOT APPLE)
340+
try_linker_flag(LINKER_PIE "-pie")
341+
endif()
344342
endif()
345343

346344
if ("${FLAG_LINKER_PIE}" AND MINGW)

0 commit comments

Comments
 (0)