From 6f9e50ca58623e551baa81fa635471b0b340f5af Mon Sep 17 00:00:00 2001
From: Daniel Friesel <daniel.friesel@uos.de>
Date: Fri, 21 Jun 2019 08:16:50 +0200
Subject: [PATCH] compile code with -fno-exceptions

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index dda7ef0..179c493 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ default: build/system.elf
 INCLUDES = -Iinclude -Iinclude/arch/${arch}
 COMMON_FLAGS = -g -Os -Wall -Wextra
 CFLAGS = -std=c99
-CXXFLAGS = -std=c++14 -fno-rtti -fno-threadsafe-statics
+CXXFLAGS = -std=c++14 -fno-rtti -fno-threadsafe-statics -fno-exceptions
 
 ASM_TARGETS =
 C_TARGETS =
-- 
GitLab