OSDN Git Service

meson: Error out if building nouveau and using LLVM without rtti
authorDylan Baker <dylan@pnwbakers.com>
Tue, 1 Jan 2019 03:23:52 +0000 (19:23 -0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 11 Jan 2019 19:19:09 +0000 (19:19 +0000)
commitcec0f1721616673886497e84886304467034672d
tree73efcbeb1508f23c83f8022cbaf09386066accf7
parent65f7c848352f8c5224bc3b5ee338409276d1ddf2
meson: Error out if building nouveau and using LLVM without rtti

Nouveau requires rtti. Often LLVM is configured without rtti, and code
with and without cannot be linked safely. Lets just error out if nouveau
is requested and llvm is built without rtti.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109202
Fixes: c5a97d658ec19cc02719d7f86c1b0715e3d9ffc4
       ("meson: fix builds against LLVM built without rtti")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
(cherry picked from commit a2596450ac7330c8965c819491038fb1ad454333)
meson.build