Skip to content
Snippets Groups Projects
Commit 48568700 authored by David Vasek's avatar David Vasek
Browse files

configure: remove the unwanted compiler flag even if it's the last one

parent b2c88ccd
No related branches found
No related tags found
No related merge requests found
Pipeline #90263 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment