From be59dcf91329b1a8cd47001fabd4df2c2916762c Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 11 Oct 2013 23:43:29 +0200 Subject: [PATCH] using c++11 and fixing libc++ linking for clang --- build/config/Darwin-clang-libc++ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/config/Darwin-clang-libc++ b/build/config/Darwin-clang-libc++ index 011a53c79..732be9268 100644 --- a/build/config/Darwin-clang-libc++ +++ b/build/config/Darwin-clang-libc++ @@ -49,10 +49,10 @@ SHAREDLIBLINKEXT = .dylib # Compiler and Linker Flags # CFLAGS = $(ARCHFLAGS) -CXXFLAGS = $(ARCHFLAGS) -stdlib=libc++ -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-unneeded-internal-declaration +CXXFLAGS = $(ARCHFLAGS) -std=c++11 -stdlib=libc++ -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-unneeded-internal-declaration LINKFLAGS = $(ARCHFLAGS) -stdlib=libc++ SHLIBFLAGS = $(ARCHFLAGS) -stdlib=libc++ -DYLIBFLAGS = $(ARCHFLAGS) +DYLIBFLAGS = $(ARCHFLAGS) -stdlib=libc++ STATICOPT_CC = STATICOPT_CXX = STATICOPT_LINK =