Browse Source

Add -stdlib=libc++ to LDFLAGS on Mac.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
54e4476ae0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      compile.mk

+ 1
- 0
compile.mk View File

@@ -28,6 +28,7 @@ endif
ifdef ARCH_MAC ifdef ARCH_MAC
FLAGS += -DARCH_MAC FLAGS += -DARCH_MAC
CXXFLAGS += -stdlib=libc++ CXXFLAGS += -stdlib=libc++
LDFLAGS += -stdlib=libc++
MAC_SDK_FLAGS := -mmacosx-version-min=10.9 MAC_SDK_FLAGS := -mmacosx-version-min=10.9
FLAGS += $(MAC_SDK_FLAGS) FLAGS += $(MAC_SDK_FLAGS)
LDFLAGS += $(MAC_SDK_FLAGS) LDFLAGS += $(MAC_SDK_FLAGS)


Loading…
Cancel
Save