We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4125a55 + fe05e0b commit 36b8468Copy full SHA for 36b8468
cmake/DaemonFlags.cmake
@@ -262,10 +262,6 @@ else()
262
# PNaCl only supports libc++ as standard library.
263
set_c_cxx_flag("-stdlib=libc++")
264
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++")
269
endif()
270
271
# Prevent the generation of STB_GNU_UNIQUE symbols
@@ -340,7 +336,9 @@ else()
340
336
341
337
if (NOT NACL OR (NACL AND GAME_PIE))
342
338
try_c_cxx_flag(FPIE "-fPIE")
343
- try_linker_flag(LINKER_PIE "-pie")
339
+ if (NOT APPLE)
+ try_linker_flag(LINKER_PIE "-pie")
+ endif()
344
345
346
if ("${FLAG_LINKER_PIE}" AND MINGW)
0 commit comments