mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
configure: -Wno-ignored-attributes in release mode for GCC.
This commit is contained in:
parent
554a14a4b3
commit
04ac7fa627
1 changed files with 6 additions and 0 deletions
|
@ -855,10 +855,16 @@ AM_COND_IF([DEBUG],
|
|||
CHARYBDIS_C_GCC_TRY_FLAGS([-Wmissing-noreturn], charybdis_cv_c_gcc_w_missing_noreturn)
|
||||
], [
|
||||
CHARYBDIS_C_GCC_TRY_FLAGS([-Wno-unknown-pragmas], charybdis_cv_c_gcc_w_unknown_pragmas)
|
||||
|
||||
AM_COND_IF([CLANG],
|
||||
[
|
||||
CHARYBDIS_C_GCC_TRY_FLAGS([-Wno-unknown-attributes], charybdis_cv_c_gcc_w_unknown_attributes)
|
||||
])
|
||||
|
||||
AM_COND_IF([GCC],
|
||||
[
|
||||
CHARYBDIS_C_GCC_TRY_FLAGS([-Wno-ignored-attributes], charybdis_cv_c_gcc_w_ignored_attributes)
|
||||
])
|
||||
])
|
||||
|
||||
AM_COND_IF([UNTUNED],
|
||||
|
|
Loading…
Reference in a new issue