aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 37221fb1..4c9e4522 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -130,7 +130,9 @@ jobs:
- name: autogen
run: ./autogen.sh
- name: configure
- run: ./configure --disable-mbedtls CFLAGS="-Werror" CXXFLAGS="-Werror"
+ # Make sure we build with the C++11 standard, so we fail to build on newer
+ # features.
+ run: ./configure --disable-mbedtls CFLAGS="-Werror" CXXFLAGS="-Werror -std=c++11"
- name: make
run: make
- name: make check