From 3b73ea4288a8aee203bbf8e0b24e5452962c7f8c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 9 Mar 2026 05:25:58 +0000 Subject: util/nvmutil: clarify CFLAGS in code makefile is correct, but lots of people don't read it. putting it iin code helps people avoid confusion. Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util/nvmutil') diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 5aa000a2..3a5148ff 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -2,6 +2,13 @@ /* Copyright (c) 2022-2026 Leah Rowe */ /* Copyright (c) 2023 Riku Viitanen */ +/* + * Written for portability among the Unices (Linux, BSD etc) + * + * Use these CFLAGS: + * -Os -Wall -Wextra -Werror -pedantic -std=c99 -D_POSIX_C_SOURCE=200809L + */ + #define _POSIX_C_SOURCE 200809L #ifdef __OpenBSD__ -- cgit v1.2.1