From 67e9684d51fd2de389b722e15f8c92d469c56b32 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 14 Oct 2022 00:32:27 +0100 Subject: [PATCH] Also prevent -flto from wine link flags Signed-off-by: falkTX --- source/jackbridge/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/jackbridge/Makefile b/source/jackbridge/Makefile index d3bf4beb1..b3f402510 100644 --- a/source/jackbridge/Makefile +++ b/source/jackbridge/Makefile @@ -15,7 +15,7 @@ LINK_FLAGS += $(JACKBRIDGE_LIBS) WINE_32BIT_FLAGS = $(32BIT_FLAGS) -fpermissive WINE_64BIT_FLAGS = $(64BIT_FLAGS) -fpermissive -WINE_LINK_FLAGS = $(filter-out -static-libgcc -static-libstdc++,$(LINK_FLAGS)) +WINE_LINK_FLAGS = $(filter-out -flto -static-libgcc -static-libstdc++,$(LINK_FLAGS)) WINE_LINK_FLAGS += $(LIBDL_LIBS) WINE_LINK_FLAGS += -pthread WINE_LINK_FLAGS += -lstdc++