[libc-commits] [PATCH] D149683: [libc] Replace -nostdlib with -nolibc and -nostartfiles for hermetic test link.

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue May 2 12:55:01 PDT 2023


jhuber6 accepted this revision.
jhuber6 added a comment.
This revision is now accepted and ready to land.

Does this also need to be applied to this?

  foreach(lib LibcHermeticTest LibcHermeticTestMain)    
    target_include_directories(${lib} PRIVATE ${LIBC_BUILD_DIR}/include)    
    target_compile_options(${lib}    
        PRIVATE ${LIBC_HERMETIC_TEST_COMPILE_OPTIONS} -ffreestanding -nostdlib -nostdlib++)    
  endforeach()


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149683/new/

https://reviews.llvm.org/D149683



More information about the libc-commits mailing list