[all-commits] [llvm/llvm-project] ea23cc: [libc++abi] Don't re-define _LIBCPP_HAS_NO_THREADS...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Nov 17 07:59:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea23cc7120af81f52c50e1008127501da5ca63f3
      https://github.com/llvm/llvm-project/commit/ea23cc7120af81f52c50e1008127501da5ca63f3
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-11-17 (Wed, 17 Nov 2021)

  Changed paths:
    M libcxxabi/CMakeLists.txt

  Log Message:
  -----------
  [libc++abi] Don't re-define _LIBCPP_HAS_NO_THREADS in single-threaded mode

Libc++ already defines the macro inside its __config_site header, so
libc++abi doesn't need to do it. Doing it just leads to -Wmacro-redefined
warnings when building libc++abi.




More information about the All-commits mailing list