From b467ffb75db7fe506cc94a7e133667ad09918600 Mon Sep 17 00:00:00 2001 From: Evan Shelhamer Date: Wed, 9 Apr 2014 15:44:07 -0700 Subject: [PATCH] fix osx 10.9 condition in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9de7379..5a365a0 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 -- 2.7.4