Skip to content

Commit

Permalink
Fix: Change the TLS-model for the libsledge to init-exec
Browse files Browse the repository at this point in the history
  • Loading branch information
emil916 committed Nov 14, 2022
1 parent bc2c521 commit 562e5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsledge/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 562e5d8

Please sign in to comment.