]> git.proxmox.com Git - wasi-libc.git/commitdiff
-mbulk-memory go brrr
authorCheng Shao <astrohavoc@gmail.com>
Sat, 4 Dec 2021 03:13:34 +0000 (03:13 +0000)
committerDan Gohman <dev@sunfishcode.online>
Fri, 20 May 2022 20:39:43 +0000 (13:39 -0700)
Makefile

index d104a3222b3ad3d68a8f8396e34da6462bd3f9d7..b41156cb34377f0028b88a90bbf9c08fbfed34b1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -211,7 +211,7 @@ CFLAGS += -Wall -Wextra -Werror \
 
 # Configure support for threads.
 ifeq ($(THREAD_MODEL), single)
-CFLAGS += -mthread-model single
+CFLAGS += -mthread-model single -ftls-model=local-exec
 endif
 ifeq ($(THREAD_MODEL), posix)
 CFLAGS += -mthread-model posix -pthread