projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
938f946
)
fix osx 10.9 condition in Makefile
author
Evan Shelhamer
<shelhamer@imaginarynumber.net>
Wed, 9 Apr 2014 22:44:07 +0000
(15:44 -0700)
committer
Evan Shelhamer
<shelhamer@imaginarynumber.net>
Wed, 9 Apr 2014 22:44:07 +0000
(15:44 -0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
9de7379
..
5a365a0
100644
(file)
--- 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