From 54e4476ae0fb27a3f140426acf16b4cd5a388f07 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 16 Nov 2021 14:20:44 -0500 Subject: [PATCH] Add -stdlib=libc++ to LDFLAGS on Mac. --- compile.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/compile.mk b/compile.mk index 808d7b67..c7b45048 100644 --- a/compile.mk +++ b/compile.mk @@ -28,6 +28,7 @@ endif ifdef ARCH_MAC FLAGS += -DARCH_MAC CXXFLAGS += -stdlib=libc++ + LDFLAGS += -stdlib=libc++ MAC_SDK_FLAGS := -mmacosx-version-min=10.9 FLAGS += $(MAC_SDK_FLAGS) LDFLAGS += $(MAC_SDK_FLAGS)