[PATCH] D57191: gn build: Build clang with -fno-strict-aliasing, make building with gcc much quieter
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 16:27:45 PST 2019
thakis marked an inline comment as done.
thakis added a comment.
Thanks!
================
Comment at: llvm/utils/gn/build/BUILD.gn:153
config("clang_code") {
+ if (host_os != "win") {
+ cflags = [ "-fno-strict-aliasing" ]
----------------
pcc wrote:
> current_os?
The file uses host_os for the other win checks too. I agree it's wrong, but I want to keep the file self-consistent until I get around to setting up a win/cross build.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57191/new/
https://reviews.llvm.org/D57191
More information about the llvm-commits
mailing list