Permalink
Browse files

OS X Mavericks compatibility

(Benedict's code, closes #3)
  • Loading branch information...
joelarmstrong committed Oct 25, 2013
1 parent 63eb0c8 commit 3cc6fb9dd474dbc72002197b1988752c84eb06a2
Showing with 5 additions and 0 deletions.
  1. +5 −0 include.mk
View
@@ -26,6 +26,11 @@ HDF5_CCLINKER = ${cxx}
cpp = h5c++ ${h5prefix}
cxx = h5cc ${h5prefix}
+ifeq (${SYS},Darwin) #This is to deal with the Mavericks replacing gcc with clang fully and changing libraries
+ cppflags += -stdlib=libstdc++
+ cflags += -stdlib=libstdc++
+endif
+
# add compiler flag and kent paths if udc is enabled
# relies on KENTSRC containing path to top level kent/ dir
# and MACHTYPE being specified

0 comments on commit 3cc6fb9

Please sign in to comment.