From: Axy Date: Fri, 15 May 2026 11:16:43 +0000 (+0200) Subject: Tiny update X-Git-Url: https://git.uwuaxy.net/?a=commitdiff_plain;h=343eec5a8499db3dc248beecd5c8c273b796d06a;p=axy%2Fft%2Fc-cera.git Tiny update --- diff --git a/Makefile b/Makefile index bf29c67..394da50 100644 --- a/Makefile +++ b/Makefile @@ -41,9 +41,9 @@ CFLAGS += -fsanitize=thread # Tsan incompat with lto ifeq (${LTO}, 1) $(info Disabling LTO because TSAN is enabled) -endif LTO=0 endif +endif ASAN ?= 0 ifeq (${ASAN}, 1) @@ -51,14 +51,14 @@ CFLAGS += -fsanitize=address # Tsan incompat with lto ifeq (${LTO}, 1) $(info Disabling LTO because ASAN is enabled) -endif LTO=0 endif +endif ifeq (${CC}, gcc) ifeq (${LTO}, 1) $(info Disabling LTO because gcc has SSA corruption bug) -CFLAGS += -flto -ffat-lto-objects +LTO=0 endif endif diff --git a/conf.mk b/conf.mk index 75d7d55..6c11b81 100644 --- a/conf.mk +++ b/conf.mk @@ -1,5 +1,5 @@ #LTO=1 -CC=clang +CC=gcc #UBSAN=1 TSAN=1 #ASAN=1