summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2014-04-09 15:44:07 -0700
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-04-09 15:44:07 -0700
commitb467ffb75db7fe506cc94a7e133667ad09918600 (patch)
tree141fc68004eb3208ee8b89dde3a44027f722a875 /Makefile
parent938f946956cdd83037c82a7713ea8f190ba66314 (diff)
downloadcaffe-b467ffb75db7fe506cc94a7e133667ad09918600.tar.gz
caffe-b467ffb75db7fe506cc94a7e133667ad09918600.tar.bz2
caffe-b467ffb75db7fe506cc94a7e133667ad09918600.zip
fix osx 10.9 condition in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9de73790..5a365a0d 100644
--- a/Makefile
+++ b/Makefile
@@ -163,7 +163,7 @@ endif
# libstdc++ instead of libc++ for CUDA compatibility on 10.9
ifeq ($(OSX), 1)
CXX := /usr/bin/clang++
- ifneq ($(findstring $(shell sw_vers -productVersion), 10.9),)
+ ifneq ($(findstring 10.9, $(shell sw_vers -productVersion)),)
CXXFLAGS += -stdlib=libstdc++
endif
endif