Fix abort in locale detection on OpenBSD

For whatever reason catch doesn't work for exceptions thrown in
a dynamically linked library and the program aborts.
This commit is contained in:
Steffen Winter 2024-01-15 15:55:04 +01:00
parent e936339038
commit 05da55c549
No known key found for this signature in database
GPG key ID: C71210D2D5BB9DC3

View file

@ -143,7 +143,7 @@ else ifeq ($(PLATFORM_LC),macos)
else ifeq ($(PLATFORM_LC),openbsd)
PLATFORM_DIR := openbsd
THREADS := $(shell sysctl -n hw.ncpu || echo 1)
override ADDFLAGS += -lkvm
override ADDFLAGS += -lkvm -static-libstdc++
export MAKE = gmake
SU_GROUP := wheel
else