summaryrefslogtreecommitdiff
path: root/plugin.mk
diff options
context:
space:
mode:
authorAndrew Belt <andrewpbelt@gmail.com>2021-09-26 11:13:42 -0400
committerAndrew Belt <andrewpbelt@gmail.com>2021-09-26 11:13:42 -0400
commitb951d77280318eb9beab79895cfbba56da5670c0 (patch)
treed8debc003301166853593d68fd39f86cfc63ca45 /plugin.mk
parentd768226759dff53cdf4372fe54bf58ddd6b6db76 (diff)
Statically link libgcc on Linux.
Diffstat (limited to 'plugin.mk')
-rw-r--r--plugin.mk2
1 files changed, 1 insertions, 1 deletions
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