Skip to content

Commit 5e25580

Browse files
authored
Fix: Change the TLS-model for the libsledge to init-exec (#370)
1 parent bc2c521 commit 5e25580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsledge/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CFILES := src/*.c
22
INCLUDES := -Iinclude/
33

44
# fPIC = Position Independent Code, necessary for linking to relative addresses.
5-
CFLAGS := -fPIC -O3 -flto
5+
CFLAGS := -fPIC -O3 -flto -ftls-model=initial-exec
66

77
# Strips out calls to assert() and disables debuglog
88
CFLAGS+=-DNDEBUG

0 commit comments

Comments
 (0)