diff --git a/srcpkgs/htmlcxx/template b/srcpkgs/htmlcxx/template
index 37aab8d2438..320c8ae9743 100644
--- a/srcpkgs/htmlcxx/template
+++ b/srcpkgs/htmlcxx/template
@@ -10,6 +10,8 @@ homepage="http://htmlcxx.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/htmlcxx/${version}/htmlcxx-${version}.tar.gz"
checksum=5d38f938cf4df9a298a5346af27195fffabfef9f460fc2a02233cbcfa8fc75c8
+export CXXFLAGS="-std=c++14"
+
htmlcxx-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"