Skip to content

Commit

Permalink
configure: Remove -ffile-prefix-map= for repeatible builds
Browse files Browse the repository at this point in the history
Debian has a patch for building keepalived that removed
-ffile-prefix-map=... to assist with repeatible build.

The commit adds removing -ffile-prefix-map= from the gcc options
if repeatible builds are enabled.

Signed-off-by: Quentin Armitage <[email protected]>
  • Loading branch information
pqarmitage committed Oct 21, 2024
1 parent 055a7b1 commit 3e842cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ AS_IF([test $? -eq 0],
# save the configure arguments
#
args=`echo $ac_configure_args | $SED -e "s/'//g"`
AS_IF([test .$enable_reproducible_build = .yes], [`echo $ac_configure_args | $SED -e "s/-ffile-prefix-map=[[^ ]]*//g"`]
AC_DEFINE_UNQUOTED(KEEPALIVED_CONFIGURE_OPTIONS,"$args", [configure options specified])
AS_IF([test .$enable_lto = .yes],
Expand Down

0 comments on commit 3e842cb

Please sign in to comment.