[flang] Fix release build flags.
authorDavid Truby <david.truby@arm.com>
Fri, 29 May 2020 13:03:21 +0000 (14:03 +0100)
committerDavid Truby <david.truby@arm.com>
Tue, 2 Jun 2020 15:29:12 +0000 (16:29 +0100)
commit81bf1e29aae5992db318803ba4722a585ad64638
tree9cdccdf1dba16ec0c26dea3a71d873137daab8ef
parent81e836a5a675f6a3d9d35560fddbbb87fdf66201
[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
flang/CMakeLists.txt