0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-19 19:33:45 +02:00

configure: Disable profile-missing warnings in both release/debug (clang).

This commit is contained in:
Jason Volk 2022-06-14 14:53:12 -07:00
parent 1a78a3fc8d
commit 16cae91875

View file

@ -867,7 +867,6 @@ AM_COND_IF([DEBUG],
AM_COND_IF([CLANG],
[
RB_MAYBE_CXXFLAG([-Wno-unknown-attributes], charybdis_cv_c_gcc_w_unknown_attributes)
RB_MAYBE_CXXFLAG([-Wno-profile-instr-unprofiled], charybdis_cv_c_gcc_w_profile_instr_unprofiled)
])
AM_COND_IF([GCC],
@ -908,6 +907,7 @@ AM_COND_IF([CLANG],
RB_MAYBE_CXXFLAG([-Wno-mismatched-tags], charybdis_cv_c_gcc_w_mismatched_tags)
RB_MAYBE_CXXFLAG([-Wno-format-security], charybdis_cv_c_gcc_w_format_security)
RB_MAYBE_CXXFLAG([-Wno-unknown-warning-option], charybdis_cv_c_gcc_w_unknown_warning_option)
RB_MAYBE_CXXFLAG([-Wno-profile-instr-unprofiled], charybdis_cv_c_gcc_w_profile_instr_unprofiled)
])
dnl Warning discovery section