mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 21:55:00 +00:00
CI: Request C++11 rather than C++98
This commit is contained in:
parent
47b86b5d46
commit
1bf3ddfdad
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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:-}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue