Skip to content

Commit 6193104

Browse files
fixup
1 parent 81bdc90 commit 6193104

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libc/cmake/modules/LLVMLibCTestRules.cmake

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ if(NOT MSVC AND NOT LIBC_CC_SUPPORTS_NOSTDLIBPP)
359359
string(STRIP ${LIBGCC_S_LOCATION} LIBGCC_S_LOCATION)
360360
endif()
361361

362-
function(_get_hermetic_test_compile_options output_var flags)
363-
_get_common_test_compile_options(compile_options "" "${flags}")
362+
function(_get_hermetic_test_compile_options output_var)
363+
_get_common_test_compile_options(compile_options "" "")
364364

365365
list(APPEND compile_options "-fpie")
366366
list(APPEND compile_options "-ffreestanding")
@@ -377,8 +377,6 @@ function(_get_hermetic_test_compile_options output_var flags)
377377
"SHELL:-mllvm -nvptx-emit-init-fini-kernel=false"
378378
-Wno-multi-gpu --cuda-path=${LIBC_CUDA_ROOT}
379379
-nogpulib -march=${LIBC_GPU_TARGET_ARCHITECTURE} -fno-use-cxa-atexit)
380-
# elseif(explicit_target_triple AND NOT CMAKE_COMPILER_IS_GNUCXX)
381-
# list(APPEND compile_options "--target=${explicit_target_triple}")
382380
endif()
383381

384382
set(${output_var} ${compile_options} PARENT_SCOPE)

0 commit comments

Comments
 (0)