mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
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 <leah@libreboot.org>
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
/* Copyright (c) 2022-2026 Leah Rowe <leah@libreboot.org> */
|
||||
/* Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com> */
|
||||
|
||||
/*
|
||||
* 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__
|
||||
|
||||
Reference in New Issue
Block a user