From c3ea38eb00a957560298033e4fe608fe0e0ad459 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 29 May 2022 15:53:52 +0300 Subject: [PATCH] configure: do not use -Wno-reserved-macro-identifier It may confuse compiler when it is used as linked wrapper. --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index be6b43a7..170c9aaa 100644 --- 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'