summaryrefslogtreecommitdiff
path: root/scripts/build/binutils/binutils.sh
diff options
context:
space:
mode:
authorNorbert Lange <nolange79@gmail.com>2019-10-10 16:56:22 (GMT)
committerNorbert Lange <nolange79@gmail.com>2019-10-10 19:39:29 (GMT)
commit7469bc8a7382ca0912d59840478b1584f873ac55 (patch)
tree19163f1093912de7b4c4c63763a8a82d4b9ba723 /scripts/build/binutils/binutils.sh
parent3f461da11f1f8e9dcfdffef24e1982b5ffd10305 (diff)
enable option for binutils deterministic-archives
Signed-off-by: Norbert Lange <nolange79@gmail.com>
Diffstat (limited to 'scripts/build/binutils/binutils.sh')
-rw-r--r--scripts/build/binutils/binutils.sh3
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}")