Add an option for reproducible library builds

This can be useful to the library packagers, notably under Debian.

Closes #17000.
This commit is contained in:
Vadim Zeitlin
2017-05-27 14:27:10 +02:00
parent a7ae3de703
commit 2f8a343b22
12 changed files with 169 additions and 59 deletions

View File

@@ -669,6 +669,8 @@ WX_ARG_ENABLE(objc_uniquifying,[ --enable-objc_uniquifying enable Objective-C c
WX_ARG_DISABLE(visibility, [ --disable-visibility disable use of ELF symbols visibility even if supported], wxUSE_VISIBILITY)
WX_ARG_DISABLE(tls, [ --disable-tls disable use of compiler TLS support], wxUSE_COMPILER_TLS)
WX_ARG_ENABLE(repro_build, [ --enable-repro-build enable reproducible build mode], wxUSE_REPRODUCIBLE_BUILD)
dnl ---------------------------------------------------------------------------
dnl optional non GUI features
dnl ---------------------------------------------------------------------------
@@ -5134,6 +5136,10 @@ else
fi
fi
if test "x$wxUSE_REPRODUCIBLE_BUILD" = "xyes"; then
AC_DEFINE(wxUSE_REPRODUCIBLE_BUILD)
fi
dnl ---------------------------------------------------------------------------
dnl compatibility level
dnl ---------------------------------------------------------------------------