From d1346c83859c772b8debd4bbe8620c6e560a051c Mon Sep 17 00:00:00 2001 From: Parth Patel <661497+parthpatel@users.noreply.github.com> Date: Wed, 13 Nov 2024 17:59:27 +0000 Subject: [PATCH] Disabling -ffat-lto-objects for Clang for now as our Clang CI builds are using ancient clang compiler. Clang added support for this flag recently in contrast to gcc which had this flag but it switched the behavior. Signed-off-by: Parth Patel <661497+parthpatel@users.noreply.github.com> --- src/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 94c14237a1..1a1af9c28e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -25,9 +25,8 @@ ifeq ($(OPTIMIZATION),-O3) ifeq (clang,$(CLANG)) OPTIMIZATION+=-flto else - OPTIMIZATION+=-flto=auto + OPTIMIZATION+=-flto=auto -ffat-lto-objects endif - OPTIMIZATION += -ffat-lto-objects endif ifneq ($(OPTIMIZATION),-O0) OPTIMIZATION+=-fno-omit-frame-pointer