diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-07-09 10:22:00 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-07-26 14:19:51 -0400 |
commit | 1b1e5a4707d681e4b38df56e83db1be9c07723b8 (patch) | |
tree | 818d23177c1b2ab338c28ad84ff4a496dc0c9602 /.github/workflows | |
parent | 54260a40b37890bb6ee3b62659abd3b13c89a0aa (diff) | |
download | bfs-1b1e5a4707d681e4b38df56e83db1be9c07723b8.tar.xz |
build: Use C23 if possible
For broader compiler support, we try both -std=c23 and -std=c2x. If
neither is supported, we fall back to -std=c17, but we will start
requiring some C23 features as extensions in this mode.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/codecov.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index e4e8f71..7231aa0 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -24,7 +24,7 @@ jobs: - name: Generate coverage run: | - ./configure --enable-gcov + ./configure --enable-gcov EXTRA_CFLAGS="-std=gnu2x" make -j$(nproc) check TEST_FLAGS="--sudo" gcov -abcfpu obj/*/*.o |