Add notes on -stdlib=libc++ for MacOS
parent
afbd3e60f6
commit
243673c32a
|
|
@ -604,10 +604,14 @@ ifeq ($(IS_LINUX),1)
|
||||||
endif # OpenMP
|
endif # OpenMP
|
||||||
endif # IS_LINUX
|
endif # IS_LINUX
|
||||||
|
|
||||||
|
# libc++ is LLVM's standard C++ library. If we add libc++
|
||||||
|
# here then all user programs must use it too. The open
|
||||||
|
# question is, which choice is easier on users?
|
||||||
ifneq ($(IS_DARWIN),0)
|
ifneq ($(IS_DARWIN),0)
|
||||||
|
CXX ?= c++
|
||||||
|
# CXXFLAGS += -stdlib=libc++
|
||||||
AR = libtool
|
AR = libtool
|
||||||
ARFLAGS = -static -o
|
ARFLAGS = -static -o
|
||||||
CXX ?= c++
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Add -errtags=yes to get the name for a warning suppression
|
# Add -errtags=yes to get the name for a warning suppression
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue