From: David VaĊĦek Date: Mon, 1 Nov 2021 15:50:24 +0000 (+0100) Subject: configure: remove the unwanted compiler flag even if it's the last one X-Git-Tag: v3.3.dev~293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4856870041e221c46a2ddb6830f4f9cccf8df159;p=thirdparty%2Fknot-dns.git configure: remove the unwanted compiler flag even if it's the last one --- diff --git a/configure.ac b/configure.ac index 6f06441da9..8a71309e7e 100644 --- a/configure.ac +++ b/configure.ac @@ -743,9 +743,9 @@ AM_CONDITIONAL([HAVE_MAKEINFO], test "$MAKEINFO" != "false") # Strip -fdebug-prefix-map= parameters from flags for better reproducibility of binaries. filtered_cflags=$(echo -n "$CFLAGS" | \ - sed 's/[[^[:alnum:]]]-f[[^[:space:]]]*-prefix-map=[[^[:space:]]]*[[^[:alnum:]]]/ /g') + sed 's/[[^[:alnum:]]]-f[[^[:space:]]]*-prefix-map=[[^[:space:]]]*//g') filtered_cppflags=$(echo -n "$CPPFLAGS" | \ - sed 's/[[^[:alnum:]]]-f[[^[:space:]]]*-prefix-map=[[^[:space:]]]*[[^[:alnum:]]]/ /g') + sed 's/[[^[:alnum:]]]-f[[^[:space:]]]*-prefix-map=[[^[:space:]]]*//g') result_msg_base=" Knot DNS $VERSION