aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md3
-rw-r--r--build.rs1
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 00f832b..492afa0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+# Unreleased
+- Use the -std=c++14 compiler flag.
+
# v3.4.1 (2018-12-10)
- Update to libnitrokey 3.4.1. There are no changes affecting this crate.
diff --git a/build.rs b/build.rs
index a22bbd0..38950d3 100644
--- a/build.rs
+++ b/build.rs
@@ -95,6 +95,7 @@ fn main() {
cc::Build::new()
.cpp(true)
+ .flag("-std=c++14")
.include(library_path.join("libnitrokey"))
.files(sources.iter().map(|s| library_path.join(s)))
.file(version_source)