Skip to content

Commit b614894

Browse files
fanquakePastaPastaPasta
authored andcommitted
Merge bitcoin#22406: build: remove --enable-determinism configure option
e462878 build: remove --enable-determinism configure option (fanquake) Pull request description: This was added by me a while back, with the intention of expanding what this did. That hasn't happened, and this hasn't gained much use. There's also been some discussion of some configure option fatigue, so just remove it for now. Note that `-Wl,--no-insert-timestamp` is also already used in the Guix build. ACKs for top commit: MarcoFalke: review ACK e462878 jarolrod: Code Review ACK e462878 Tree-SHA512: ac976f88203eca2a49e296a98693dbe53330e0cb0e273c5ff1fcded30daeb6070cc5beeae35cf9acfdc2279cd64c274d5aeb588aef077aa9bfde39bb23570491
1 parent 52c8ef2 commit b614894

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

configure.ac

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,6 @@ AC_ARG_ENABLE([gprof],
307307
[enable_gprof=$enableval],
308308
[enable_gprof=no])
309309

310-
dnl Pass compiler & linker flags that make builds deterministic
311-
AC_ARG_ENABLE([determinism],
312-
[AS_HELP_STRING([--enable-determinism],
313-
[Enable compilation flags that make builds deterministic (default is no)])],
314-
[enable_determinism=$enableval],
315-
[enable_determinism=no])
316-
317310
dnl Turn warnings into errors
318311
AC_ARG_ENABLE([werror],
319312
[AS_HELP_STRING([--enable-werror],
@@ -966,12 +959,6 @@ if test x$TARGET_OS = xdarwin; then
966959
AX_CHECK_LINK_FLAG([[-Wl,-bind_at_load]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-bind_at_load"],, [[$LDFLAG_WERROR]])
967960
fi
968961

969-
if test x$enable_determinism = xyes; then
970-
if test x$TARGET_OS = xwindows; then
971-
AX_CHECK_LINK_FLAG([[-Wl,--no-insert-timestamp]], [LDFLAGS="$LDFLAGS -Wl,--no-insert-timestamp"],, [[$LDFLAG_WERROR]])
972-
fi
973-
fi
974-
975962
AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h stdio.h stdlib.h unistd.h strings.h sys/types.h sys/stat.h sys/select.h sys/prctl.h sys/sysctl.h vm/vm_param.h sys/vmmeter.h sys/resources.h])
976963

977964
AC_CHECK_DECLS([getifaddrs, freeifaddrs],[CHECK_SOCKET],,

0 commit comments

Comments
 (0)