From b951d77280318eb9beab79895cfbba56da5670c0 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 26 Sep 2021 11:13:42 -0400 Subject: [PATCH] Statically link libgcc on Linux. --- plugin.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.mk b/plugin.mk index 59d57b14..5b04b77a 100644 --- a/plugin.mk +++ b/plugin.mk @@ -29,7 +29,7 @@ ifdef ARCH_LIN FLAGS += -fno-gnu-unique LDFLAGS += -Wl,-rpath=. # Since the compiler we're using could have a newer version than the minimum supported libstdc++ version, link it statically. - LDFLAGS += -static-libstdc++ + LDFLAGS += -static-libstdc++ -static-libgcc RACK_USER_DIR ?= $(HOME)/.Rack2 endif