Skip to content

Commit 1999ec9

Browse files
committed
build: pin -std=c11 for instrument-hooks core.c
The Zig-generated dist/core.c is rejected under C23 (GCC 15's default), so pin C11 via cflags_c (C-only, so the C++ sources are unaffected).
1 parent 56fa9fc commit 1999ec9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/core/binding.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"cflags_cc!": [
99
"-fno-exceptions"
1010
],
11+
"cflags_c": [
12+
"-std=c11"
13+
],
1114
"cflags": [
1215
"-g",
1316
"-Wno-maybe-uninitialized",

0 commit comments

Comments
 (0)