Do not add -gsplit-dwarf to LLVM_DEFINITIONS.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 22 Oct 2014 19:49:19 +0000 (19:49 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 22 Oct 2014 19:49:19 +0000 (19:49 +0000)
commit1496d41753a3914482e85e0689fc8f38fdc9374d
treecf04768d195e07d53b456345cd431870d7f6888a
parent1afcd6b4ff362a74be87e11936ecc05dc544c2eb
Do not add -gsplit-dwarf to LLVM_DEFINITIONS.

This would cause the flag to appear in the output of "llvm-config --cppflags",
which should contain only preprocessor flags. The -gsplit-dwarf flag in
particular can cause problems with certain downstream users such as cgo.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220410 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake