Skip to content

Commit

Permalink
cyr_buildinfo: add version.FORTIFY_LEVEL
Browse files Browse the repository at this point in the history
  • Loading branch information
elliefm committed Jul 24, 2024
1 parent f889571 commit 9cb4b76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions imap/cyr_buildinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@ static json_t *buildinfo()
json_object_set_new(version, "ZONEINFO_VERSION",
json_integer(ZONEINFO_VERSION));

#if defined __USE_FORTIFY_LEVEL && __USE_FORTIFY_LEVEL > 0
json_object_set_new(version, "FORTIFY_LEVEL",
json_integer(__USE_FORTIFY_LEVEL));
#else
json_object_set_new(version, "FORTIFY_LEVEL",
json_integer(0));
#endif

/* Whew ... */
return buildconf;
}
Expand Down

0 comments on commit 9cb4b76

Please sign in to comment.