]> gitweb.factorcode.org Git - factor.git/commitdiff
GNUMakefile: Explicitly ask for stdlib=libc++ because clang downgrades the version...
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 5 May 2016 23:48:40 +0000 (16:48 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 5 May 2016 23:48:40 +0000 (16:48 -0700)
Config.macosx: Support for shrink_to_fit() is claimed to be in 10.7 and later, but 10.7 and 10.8 both throw this huge error:
https://paste.factorcode.org/paste?id=3872

Fixes #1624.

GNUmakefile
vm/Config.macosx

index 753fb05c103efb65c5103ce2c2fe703a8332a5e5..6f7c1e7e1324a752b0728c62fa0e5f74d6b24ceb 100644 (file)
@@ -12,7 +12,7 @@ ifdef CONFIG
                -DFACTOR_GIT_LABEL="$(GIT_LABEL)" \
                $(SITE_CFLAGS)
 
-       CXXFLAGS += -std=c++11
+       CXXFLAGS += -std=c++11 -stdlib=libc++
 
        ifdef DEBUG
                CFLAGS += -g -DFACTOR_DEBUG
index c2b3e38f70751ee1dffdb00150b7300fd461e2c1..74f4fcacef033957a4dbd4f871f88de30b17a95b 100644 (file)
@@ -1,6 +1,6 @@
 include vm/Config.unix
 #SITE_CFLAGS +=
-SITE_CFLAGS += -mmacosx-version-min=10.5
+SITE_CFLAGS += -mmacosx-version-min=10.9
 
 PLAF_DLL_OBJS += vm/os-macosx.o vm/mach_signal.o vm/mvm-unix.o
 PLAF_MASTER_HEADERS += vm/os-macosx.hpp vm/mach_signal.hpp