[all-commits] [llvm/llvm-project] 1410b7: [compiler-rt] Fix a bug in the cmakelists file whe...

Stella Stamenova via All-commits all-commits at lists.llvm.org
Thu Dec 3 10:27:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1410b72be3211fa2a3dffcc06c5dc904ae4a6fb4
      https://github.com/llvm/llvm-project/commit/1410b72be3211fa2a3dffcc06c5dc904ae4a6fb4
  Author: Stella Stamenova <stilis at microsoft.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M compiler-rt/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] Fix a bug in the cmakelists file when CMAKE_CXX_FLAGS are empty

Right now, the regex expression will fail if the flags were not set. Instead, we should follow the pattern of other llvm projects and quote the expression, so that it can work even when the flags are not set.

Reviewed By: phosek

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




More information about the All-commits mailing list