summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2025-04-29 01:13:05 -0700
committerMichael Forney <mforney@mforney.org>2025-04-29 01:13:05 -0700
commitac78d5370ab99bc4fff3bd876a2a9a1480cbc557 (patch)
tree7e568d35e4bf6b89522a36b2903e4cb432fd424f
parent0ec27118d3ba9538e350d2d6537984dd57f418e0 (diff)
openbsd: Build with -std=gnu17 to fix build with gcc 15.1.0
-rw-r--r--pkg/openbsd/gen.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/openbsd/gen.lua b/pkg/openbsd/gen.lua
index 53f2d1df..afb2bf63 100644
--- a/pkg/openbsd/gen.lua
+++ b/pkg/openbsd/gen.lua
@@ -1,4 +1,5 @@
cflags{
+ '-std=gnu17',
'-Wall', '-Wno-pointer-sign', '-Wno-maybe-uninitialized', '-Wno-attributes',
[[-D 'DEF_WEAK(n)=_Static_assert(1, "")']],
'-I $dir/include',