mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
preliminary c++11 and libc++ build support
This commit is contained in:
5
Makefile
5
Makefile
@@ -31,7 +31,8 @@
|
||||
objects = network_utilities.o sha1.o base64.o md5.o uri.o hybi_header.o data.o
|
||||
|
||||
BOOST_LIB_PATH ?= /usr/local/lib
|
||||
BOOST_INCLUDE_PATH ?= /usr/local/include
|
||||
BOOST_INCLUDE_PATH ?= /usr/local/include
|
||||
CPP11 ?=
|
||||
|
||||
libs = -lboost_system -lboost_date_time -lboost_regex -lboost_random -lboost_program_options
|
||||
|
||||
@@ -41,7 +42,7 @@ OS=$(shell uname)
|
||||
|
||||
# Defaults
|
||||
ifeq ($(OS), Darwin)
|
||||
cxxflags_default = -c -Wall -O2 -DNDEBUG -I$(BOOST_INCLUDE_PATH)
|
||||
cxxflags_default = -c $(CPP11) -Wall -O2 -DNDEBUG -I$(BOOST_INCLUDE_PATH)
|
||||
else
|
||||
cxxflags_default = -c -Wall -O2 -DNDEBUG -I$(BOOST_INCLUDE_PATH)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user