aco: pass -fno-exceptions and -fno-rtti
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 14 Aug 2020 10:26:44 +0000 (11:26 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 15 Sep 2020 14:36:57 +0000 (14:36 +0000)
commit7bfaeaa590d8b4842aaafc5ff392caa624e269d3
tree1e95f51d8586113c3cc6fe1d705512179b07c06e
parent51a6261d38b2804c2a45f16236b1000b7777c220
aco: pass -fno-exceptions and -fno-rtti

We don't use exceptions or RTTI at all, so pass this flag to the compiler
to allow it to create better code.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Acked-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6315>
src/amd/compiler/meson.build
src/amd/compiler/tests/meson.build