CI: Request C++11 rather than C++98

This commit is contained in:
Sebastian Pipping 2023-09-19 22:36:25 +02:00
parent 47b86b5d46
commit 1bf3ddfdad
2 changed files with 2 additions and 2 deletions

View file

@ -159,7 +159,7 @@ _run() {
${with_unsigned_char} && BASE_FLAGS="${BASE_FLAGS} -funsigned-char"
local CFLAGS="-std=c99 ${BASE_FLAGS}"
local CXXFLAGS="-std=c++98 ${BASE_FLAGS}"
local CXXFLAGS="-std=c++11 ${BASE_FLAGS}"
(
set -e

View file

@ -114,7 +114,7 @@ populate_environment() {
CFLAGS="-std=c99 ${BASE_COMPILE_FLAGS} ${CFLAGS:-}"
CXXFLAGS="-std=c++98 ${BASE_COMPILE_FLAGS} ${CXXFLAGS:-}"
CXXFLAGS="-std=c++11 ${BASE_COMPILE_FLAGS} ${CXXFLAGS:-}"
LDFLAGS="${BASE_LINK_FLAGS} ${LDFLAGS:-}"
}