Skip to content

Commit 55579f0

Browse files
committedMay 11, 2016
Fix building with GCC (g++-5.2.0) on OS X (Darwin) (ref #108)
1 parent 7f7470f commit 55579f0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎Makefile

-6
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ COMMON_FLAGS = -Wall -pedantic -Wextra -Wsign-compare -Wsign-conversion -Wshadow
1111
CXXFLAGS := $(CXXFLAGS)
1212
LDFLAGS := $(LDFLAGS)
1313

14-
OS:=$(shell uname -s)
15-
ifeq ($(OS),Darwin)
16-
CXXFLAGS += -stdlib=libc++
17-
LDFLAGS += -stdlib=libc++ -F/ -framework CoreFoundation
18-
endif
19-
2014
ALL_HEADERS = $(shell find include/mapbox/ '(' -name '*.hpp' ')')
2115

2216
all: out/bench-variant out/unique_ptr_test out/unique_ptr_test out/recursive_wrapper_test out/binary_visitor_test

0 commit comments

Comments
 (0)