Skip to content

Commit

Permalink
preliminary c++11 and libc++ build support
Browse files Browse the repository at this point in the history
  • Loading branch information
zaphoyd committed Jan 25, 2012
1 parent 6377358 commit 95da9c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 95da9c4

Please sign in to comment.