Unverified Commit eaa2da48 authored by MrJs's avatar MrJs Committed by GitHub
Browse files

fix MacOS compilation

parent 6c8e4676
......@@ -136,7 +136,9 @@ else ifeq ($(platform), osx)
endif
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
fpic += -mmacosx-version-min=10.1
fpic += -mmacosx-version-min=10.7
CXXFLAGS += -stdlib=libc++
LDFLAGS += -stdlib=libc++
# iOS
else ifneq (,$(findstring ios,$(platform)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment