Update cmake/XrplCompiler.cmake

Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
This commit is contained in:
Pratik Mankawde
2025-12-19 17:57:07 +00:00
committed by GitHub
parent 738aa9482e
commit 04417e18d5

View File

@@ -121,7 +121,7 @@ else ()
# link to static libc/c++ iff:
# * static option set and
# * NOT APPLE (AppleClang does not support static libc/c++) and
# * NOT SANITIZER (sanitizers typically don't work with static libc/c++)
# * NOT SANITIZERS (sanitizers typically don't work with static libc/c++)
$<$<AND:$<BOOL:${static}>,$<NOT:$<BOOL:${APPLE}>>,$<NOT:$<BOOL:${SANITIZERS_ENABLED}>>>:
-static-libstdc++
-static-libgcc