From 9ce1f1ea246d0f3dcee78eaa483e2bf9b0af35f5 Mon Sep 17 00:00:00 2001
From: Daniel Friesel <derf@finalrewind.org>
Date: Tue, 13 Nov 2018 07:59:39 +0100
Subject: [PATCH] disable threadsafe statics

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

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