diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-31 19:06:35 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-12-31 20:17:59 +0100 |
commit | b529221df29450412b01d8514df93a059fec8104 (patch) | |
tree | 89e8d2d16d7e71fef5449d8bd06767658cc4a14c | |
parent | 56abf0719b895c57b068b5859e719cc87dfda386 (diff) | |
download | nitrokey-sys-rs-b529221df29450412b01d8514df93a059fec8104.tar.gz nitrokey-sys-rs-b529221df29450412b01d8514df93a059fec8104.tar.bz2 |
Use -std=c++14 flag when compiling libnitrokey
Based on the patch proposed by Philippe Normand at [0].
[0] https://github.com/d-e-s-o/nitrocli/pull/42
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | build.rs | 1 |
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. @@ -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) |