@@ -436,7 +436,7 @@ function(add_libc_fuzzer target_name)
436
436
endfunction (add_libc_fuzzer )
437
437
438
438
# Get libgcc_s to be used in hermetic and integration tests.
439
- if (NOT LIBC_COMPILER_SUPPORT_NOSTDLIBPP )
439
+ if (NOT LIBC_CC_SUPPORTS_NOSTDLIBPP )
440
440
execute_process (COMMAND ${CMAKE_CXX_COMPILER} -print-file-name=libgcc_s.so.1
441
441
OUTPUT_VARIABLE LIBGCC_S_LOCATION )
442
442
string (STRIP ${LIBGCC_S_LOCATION} LIBGCC_S_LOCATION )
@@ -571,7 +571,7 @@ function(add_integration_test test_name)
571
571
572
572
if (LIBC_TARGET_ARCHITECTURE_IS_GPU )
573
573
target_link_options (${fq_build_target_name} PRIVATE -nostdlib -static )
574
- elseif (LIBC_COMPILER_SUPPORT_NOSTDLIBPP )
574
+ elseif (LIBC_CC_SUPPORTS_NOSTDLIBPP )
575
575
target_link_options (${fq_build_target_name} PRIVATE -nolibc -nostartfiles -nostdlib++ -static )
576
576
else ()
577
577
# Older version of gcc does not support `nostdlib++` flag. We use
@@ -753,7 +753,7 @@ function(add_libc_hermetic_test test_name)
753
753
754
754
if (LIBC_TARGET_ARCHITECTURE_IS_GPU )
755
755
target_link_options (${fq_build_target_name} PRIVATE -nostdlib -static )
756
- elseif (LIBC_COMPILER_SUPPORT_NOSTDLIBPP )
756
+ elseif (LIBC_CC_SUPPORTS_NOSTDLIBPP )
757
757
target_link_options (${fq_build_target_name} PRIVATE -nolibc -nostartfiles -nostdlib++ -static )
758
758
else ()
759
759
# Older version of gcc does not support `nostdlib++` flag. We use
0 commit comments