[all-commits] [llvm/llvm-project] 81bf1e: [flang] Fix release build flags.

David Truby via All-commits all-commits at lists.llvm.org
Tue Jun 2 08:29:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 81bf1e29aae5992db318803ba4722a585ad64638
      https://github.com/llvm/llvm-project/commit/81bf1e29aae5992db318803ba4722a585ad64638
  Author: David Truby <david.truby at arm.com>
  Date:   2020-06-02 (Tue, 02 Jun 2020)

  Changed paths:
    M flang/CMakeLists.txt

  Log Message:
  -----------
  [flang] Fix release build flags.

Summary:
This patch removes the custom CMAKE_RELEASE_CXX_FLAGS variable.
This variable being set was having the effect of removing other important
Release flags, notably `-DNDEBUG`.

This patch may need to be accompanied by fixes for the macOS issues that
the removed comment mentions; I don't have a mac to test this on though so
hopefully a reviewer can help with that.

Reviewers: Andrzej, tskeith, sscalpone

Subscribers: mgorny, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list