Skip to content
Snippets Groups Projects
Commit 54205b26 authored by David Vasek's avatar David Vasek Committed by Daniel Salzman
Browse files

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

parent 94e366ca
Branches
Tags
No related merge requests found
......@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment