From 54e90f75203bbf40ec6ac6dd09227e2c6f97cc62 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 21 Jun 2022 12:22:06 +0100 Subject: Add various command line arguments. There are too many really to use single-character args, so the next step should be a config file. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meson.build') 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' ) -- cgit v1.2.3