summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-21 12:22:06 +0100
committerPhil Jones <philj56@gmail.com>2022-06-21 12:22:06 +0100
commit54e90f75203bbf40ec6ac6dd09227e2c6f97cc62 (patch)
tree1f6074e47a2e0477b697bbcec2c52128bd652657 /meson.build
parentc0cd4cdf78886040528b16fad084a14165a16384 (diff)
Add various command line arguments.
There are too many really to use single-character args, so the next step should be a config file.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 85d6176..b4b203a 100644
--- a/meson.build
+++ b/meson.build
@@ -43,7 +43,8 @@ add_project_arguments(
#'-Wconversion',
'-Wshadow',
'-Wno-unused-parameter',
- '-D_POSIX_C_SOURCE=200809L',
+ '-D_XOPEN_SOURCE=700',
+ '-D_FORTIFY_SOURCE=2',
],
language: 'c'
)