Skip to content

Commit

Permalink
Merge pull request #109 from mapbox/darwin-build-flags
Browse files Browse the repository at this point in the history
Fix building with GCC (g++-5.2.0) on OS X (Darwin) (ref #108)
  • Loading branch information
artemp committed May 11, 2016
2 parents 33e27ec + 55579f0 commit 2f8a4a3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ COMMON_FLAGS = -Wall -pedantic -Wextra -Wsign-compare -Wsign-conversion -Wshadow
CXXFLAGS := $(CXXFLAGS)
LDFLAGS := $(LDFLAGS)

OS:=$(shell uname -s)
ifeq ($(OS),Darwin)
CXXFLAGS += -stdlib=libc++
LDFLAGS += -stdlib=libc++ -F/ -framework CoreFoundation
endif

ALL_HEADERS = $(shell find include/mapbox/ '(' -name '*.hpp' ')')

all: out/bench-variant out/unique_ptr_test out/unique_ptr_test out/recursive_wrapper_test out/binary_visitor_test
Expand Down

0 comments on commit 2f8a4a3

Please sign in to comment.