configure: Suppress -Wempty-body except in debug-mode (GCC).

This commit is contained in:
Jason Volk 2023-03-05 16:31:22 -08:00
parent f2d94b5cc0
commit a4c3a6be82
1 changed files with 1 additions and 0 deletions

View File

@ -967,6 +967,7 @@ AM_COND_IF([DEBUG],
RB_MAYBE_CWARN([-Wno-ignored-attributes], charybdis_cv_c_gcc_w_no_ignored_attributes)
RB_MAYBE_CWARN([-Wno-attributes], charybdis_cv_c_gcc_w_no_attributes)
RB_MAYBE_CWARN([-Wno-pragmas], charybdis_cv_c_gcc_w_no_pragmas)
RB_MAYBE_CWARN([-Wno-empty-body], charybdis_cv_c_gcc_w_no_empty_body)
])
])