fix nonfunctional --enable-relro option

Signed-off-by: Norbert Lange <nolange79@gmail.com>
This commit is contained in:
Norbert Lange 2019-10-10 18:57:07 +02:00
parent 3f461da11f
commit 605805b3dd

View File

@ -153,7 +153,7 @@ do_binutils_backend() {
if [ "${CT_BINUTILS_PLUGINS}" = "y" ]; then
extra_config+=( --enable-plugins )
fi
if [ "${CT_BINUTILES_RELRO}" = "y" ]; then
if [ "${CT_BINUTILS_RELRO}" = "y" ]; then
extra_config+=( --enable-relro )
elif [ "${CT_BINUTILS_RELRO}" != "m" ]; then
extra_config+=( --disable-relro )