Permalink
Browse files

Fix variadic template warnings on NetBSD

  • Loading branch information...
1 parent 1538bc9 commit 115b21159e4375af7d6373daf0d92bb7581fe5f2 outpaddling committed Nov 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 dolfin/Makefile
View
@@ -30,7 +30,8 @@ CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
CXXFLAGS+= -I${LOCALBASE}/${PYINC}
.endif
-.if ${OPSYS} == "Linux"
+# Fix for variadic template warnings
+.if ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD"
#CXXFLAGS+= -std=gnu++0x
CXXFLAGS+= -std=c++0x
.endif

0 comments on commit 115b211

Please sign in to comment.