[all-commits] [llvm/llvm-project] fa90e2: [libc++] Don't automatically define LIBCXX_ENABLE_...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Jun 15 08:24:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa90e2b988dec6bb0f77490669647a1d7bbf4b25
      https://github.com/llvm/llvm-project/commit/fa90e2b988dec6bb0f77490669647a1d7bbf4b25
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M libcxx/cmake/Modules/HandleLibCXXABI.cmake

  Log Message:
  -----------
  [libc++] Don't automatically define LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS with libcxxrt

libcxxrt is only used on FreeBSD and the FreeBSD CMake cache already
sets LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS to ON, as it should. This
avoids defining LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS redundantly in
a place where it doesn't belong.

Differential Revision: https://reviews.llvm.org/D152971




More information about the All-commits mailing list