From daf2235ce3b6214d7379ca5d57b68f4592ae4ef8 Mon Sep 17 00:00:00 2001 From: Leonard Chan Date: Tue, 19 Dec 2023 20:07:26 +0000 Subject: [PATCH] Add -fno-rtti and -fno-exceptions --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 04ea13f..bb2814e 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,6 @@ CC ?= gcc # version? CXX ?= g++ -CPPFLAGS = -std=c++17 $(EXTRA_CPPFLAGS) +CPPFLAGS = -std=c++17 -fno-rtti -fno-exceptions $(EXTRA_CPPFLAGS) # Add new source files here. SRCS = lexer.cpp parser.cpp