preliminary c++11 and libc++ build support

This commit is contained in:
Peter Thorson
2012-01-25 08:10:37 -06:00
parent 6377358c0b
commit 95da9c45c8

View File

@@ -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