From 6fe3da95390a566d0c389a3f003771f9d048cf01 Mon Sep 17 00:00:00 2001
From: Benny Baumann <BenBE@geshi.org>
Date: Sun, 31 Mar 2019 19:27:54 +0200
Subject: [PATCH] chg: Use libc++ on FreeBSD to avoid missing vtable and
 typeinfo issues

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 3de49d4..5cc0992 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ LFLAGS += -flto
 else ifeq "${OS}" "FreeBSD"
 CFLAGS += -Wno-error=sign-conversion
 CXXFLAGS += -Wno-error=sign-conversion
+LFLAGS += -stdlib=libc++
 endif
 
 CC ?= gcc
-- 
GitLab