From 6a0883d45ffc277aa67d0746acc1e82718316104 Mon Sep 17 00:00:00 2001 From: Evan Shelhamer Date: Tue, 15 Jul 2014 10:20:10 +0200 Subject: [PATCH] fix choice of clang++ in OS X build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 855d948..f7e5870 100644 --- a/Makefile +++ b/Makefile @@ -206,7 +206,7 @@ endif # clang++ instead of g++ # libstdc++ instead of libc++ for CUDA compatibility on 10.9 ifeq ($(OSX), 1) - CXX ?= /usr/bin/clang++ + CXX := /usr/bin/clang++ # clang throws this warning for cuda headers WARNINGS += -Wno-unneeded-internal-declaration ifneq ($(findstring 10.9, $(shell sw_vers -productVersion)),) -- 2.7.4