From 562e5d8623976fe12f36b62a59761baa5066bf73 Mon Sep 17 00:00:00 2001 From: emil Date: Mon, 14 Nov 2022 13:51:55 -0500 Subject: [PATCH] Fix: Change the TLS-model for the libsledge to init-exec --- libsledge/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsledge/Makefile b/libsledge/Makefile index 04bbc7e2f..9f0d4df69 100644 --- a/libsledge/Makefile +++ b/libsledge/Makefile @@ -2,7 +2,7 @@ CFILES := src/*.c INCLUDES := -Iinclude/ # fPIC = Position Independent Code, necessary for linking to relative addresses. -CFLAGS := -fPIC -O3 -flto +CFLAGS := -fPIC -O3 -flto -ftls-model=initial-exec # Strips out calls to assert() and disables debuglog CFLAGS+=-DNDEBUG