configure: do not use -Wno-reserved-macro-identifier

It may confuse compiler when it is used as linked wrapper.
This commit is contained in:
Evgeny Grin (Karlson2k)
2022-05-29 15:53:52 +03:00
parent cf26c7b443
commit c3ea38eb00
-6
View File
@@ -272,12 +272,6 @@ AS_CASE([${enable_build_type}],[release|release-*],
LDFLAGS="${LDFLAGS_ac} ${user_LDFLAGS}"
]
)
AS_VAR_IF([enable_build_type],["neutral"],[],
[ # Any non-neutral build types, final additional flags
CFLAGS="${user_CFLAGS}"
MHD_CHECK_ADD_CC_CFLAGS([-Wno-reserved-macro-identifier], [CFLAGS_ac])
]
)
CFLAGS="${CFLAGS_ac} ${user_CFLAGS}"
# Additional flags are checked and added at the end of 'configure'