summaryrefslogtreecommitdiffstats
path: root/build/flags
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-09-30 11:42:05 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-10-01 11:04:23 -0400
commit5caa4066232c8d615bb95af2e5d8e9b342a0f653 (patch)
tree726d9da27444ea840e6499272e817d75e8ec8f47 /build/flags
parent90791fc54affb18119e8403efc9320a2a59c9d09 (diff)
downloadbfs-5caa4066232c8d615bb95af2e5d8e9b342a0f653.tar.xz
build: Add -Wundef-prefix=BFS_
Diffstat (limited to 'build/flags')
-rw-r--r--build/flags/Wundef-prefix.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/flags/Wundef-prefix.c b/build/flags/Wundef-prefix.c
new file mode 100644
index 0000000..3eaf82b
--- /dev/null
+++ b/build/flags/Wundef-prefix.c
@@ -0,0 +1,9 @@
+// Copyright © Tavian Barnes <tavianator@tavianator.com>
+// SPDX-License-Identifier: 0BSD
+
+/// _CPPFLAGS += -Wundef-prefix=BFS_
+/// -Werror
+
+int main(void) {
+ return 0;
+}