[libcxx-commits] [libcxx] [libc++] Use -nostdlib++ on GCC unconditionally (PR #68832)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 12 14:14:19 PDT 2023


================
@@ -108,22 +97,18 @@ if(WIN32 AND NOT MINGW)
   # TODO(compnerd) do we want to support an emulation layer that allows for the
   # use of pthread-win32 or similar libraries to emulate pthreads on Windows?
   set(LIBCXX_HAS_PTHREAD_LIB NO)
-  set(LIBCXX_HAS_M_LIB NO)
   set(LIBCXX_HAS_RT_LIB NO)
   set(LIBCXX_HAS_ATOMIC_LIB NO)
 elseif(APPLE)
   set(LIBCXX_HAS_PTHREAD_LIB NO)
-  set(LIBCXX_HAS_M_LIB NO)
   set(LIBCXX_HAS_RT_LIB NO)
   set(LIBCXX_HAS_ATOMIC_LIB NO)
 elseif(FUCHSIA)
-  set(LIBCXX_HAS_M_LIB NO)
----------------
EricWF wrote:

Is libm normally linked by the driver? last I recalled it wasn't.

https://github.com/llvm/llvm-project/pull/68832


More information about the libcxx-commits mailing list