File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -359,8 +359,8 @@ if(NOT MSVC AND NOT LIBC_CC_SUPPORTS_NOSTDLIBPP)
359359 string (STRIP ${LIBGCC_S_LOCATION} LIBGCC_S_LOCATION)
360360endif ()
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)
You can’t perform that action at this time.
0 commit comments