diff options
author | Norbert Lange <nolange79@gmail.com> | 2019-10-10 16:56:22 (GMT) |
---|---|---|
committer | Norbert Lange <nolange79@gmail.com> | 2019-10-10 19:39:29 (GMT) |
commit | 7469bc8a7382ca0912d59840478b1584f873ac55 (patch) | |
tree | 19163f1093912de7b4c4c63763a8a82d4b9ba723 /scripts/build | |
parent | 3f461da11f1f8e9dcfdffef24e1982b5ffd10305 (diff) |
enable option for binutils deterministic-archives
Signed-off-by: Norbert Lange <nolange79@gmail.com>
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/binutils/binutils.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh index 2a738de..6a2ec7b 100644 --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -158,6 +158,9 @@ do_binutils_backend() { elif [ "${CT_BINUTILS_RELRO}" != "m" ]; then extra_config+=( --disable-relro ) fi + if [ "${CT_BINUTILS_DETERMINISTIC_ARCHIVES}" = "y" ]; then + extra_config+=( --enable-deterministic-archives ) + fi if [ "${CT_BINUTILS_HAS_PKGVERSION_BUGURL}" = "y" ]; then [ -n "${CT_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_PKGVERSION}") [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") |