commit c3ea38eb00a957560298033e4fe608fe0e0ad459
parent cf26c7b44377070de6253f99cb44546cca458fbe
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 29 May 2022 15:53:52 +0300
configure: do not use -Wno-reserved-macro-identifier
It may confuse compiler when it is used as linked wrapper.
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -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'