From fca7e1be85a3b2fd45e760105e5a0d2bdf1bb764 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 27 Jan 2022 10:53:52 -0500 Subject: Disable RTTI --- build.ninja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ninja b/build.ninja index 0a1e30b..bf89d81 100644 --- a/build.ninja +++ b/build.ninja @@ -15,7 +15,7 @@ ninja_required_version = 1.3 rule cxx - command = g++ -MD -MT $out -MF $out.d -pipe -std=c++20 -Wall -Wextra $ + command = g++ -MD -MT $out -MF $out.d -pipe -std=c++20 -fno-rtti -Wall -Wextra $ -Wno-sign-compare -fdiagnostics-show-template-tree -O3 -flto $ -fstack-protector-strong -Wformat -Werror=format-security $ -D_FORTIFY_SOURCE=2 -DNDEBUG -ffunction-sections -fdata-sections -c $in -o $ -- cgit v1.2.3