commit e8042f95fb79bf5af63da2e29ae995ff4f11449e
parent df9b195ebfcd7d5fb673512ec7ec3b3df9981c61
Author: ssnf <ssnf@ssnf.xyz>
Date: Sun, 15 Jun 2025 16:34:27 +0000
cleaner compilation on recent gcc versions
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/9c b/bin/9c
@@ -6,6 +6,8 @@ usegcc()
cc=${CC9:-gcc}
cflags=" \
-O2 \
+ -std=c99 \
+ -D_POSIX_C_SOURCE \
-c \
-Wall \
-Wno-parentheses \
@@ -18,9 +20,9 @@ usegcc()
-Wno-stringop-truncation \
-Wno-stringop-overflow \
-Wno-format-truncation \
- -Wno-deprecated-pragma \
-Wno-unused-but-set-variable \
-Wno-deprecated-declarations \
+ -Wno-array-parameter \
-fno-omit-frame-pointer \
-fsigned-char \
-fcommon \