OSDN Git Service

meson: fix builds against LLVM built without rtti
authorDylan Baker <dylan@pnwbakers.com>
Mon, 16 Apr 2018 21:47:58 +0000 (14:47 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 24 Apr 2018 21:08:15 +0000 (14:08 -0700)
commitc5a97d658ec19cc02719d7f86c1b0715e3d9ffc4
tree8503ae2f48bb836e244b9078df67f7cf193a88f2
parent595021bf1a67346c7dfca652ef2dbcce3e2a6ca0
meson: fix builds against LLVM built without rtti

Building without rtti is a frought with peril, but it's something that
autotools supports so we need to support it too.

Since we've moved to version 0.44 as a whole we can use the meson
functionality for accessing random llvm-config options we can check for
rtti and add -fno-rtti to all C++ code accordingly.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
meson.build