[llgo] cmd/gllgo: handle/ignore more flags
authorAndrew Wilkins <axwalk@gmail.com>
Fri, 17 Jul 2015 08:15:01 +0000 (08:15 +0000)
committerAndrew Wilkins <axwalk@gmail.com>
Fri, 17 Jul 2015 08:15:01 +0000 (08:15 +0000)
commit7a94f98beaf11daf0046e02e34d07c9970ff2b28
treeb7b1ae1efab117bb42fd2a7bf2c8ff6809fc4432
parentf55803f761340107d3be8dc3a582f87fe4e2ea98
[llgo] cmd/gllgo: handle/ignore more flags

Summary:
This diff is to support Debian packaging,
which sets various hardening-rleated flags
in CFLAGS. They don't make sense for Go,
so we just ignore them.

Reviewers: pcc

Subscribers: llvm-commits, axw

Differential Revision: http://reviews.llvm.org/D11288

llvm-svn: 242513
llgo/cmd/gllgo/gllgo.go