diff options
Diffstat (limited to 'sysdeps/arm')
-rw-r--r-- | sysdeps/arm/preconfigure | 8 | ||||
-rw-r--r-- | sysdeps/arm/preconfigure.ac | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/arm/preconfigure b/sysdeps/arm/preconfigure index b3124edae2..74869b10a8 100644 --- a/sysdeps/arm/preconfigure +++ b/sysdeps/arm/preconfigure @@ -61,3 +61,11 @@ $as_echo "$as_me: WARNING: arm/preconfigure: Did not find ARM architecture type; machine=arm/$machine esac + +case "$machine" in +arm*) + # Parameters to allow auto-detection of -z relro. + libc_commonpagesize=0x1000 + libc_relro_required=yes + ;; +esac diff --git a/sysdeps/arm/preconfigure.ac b/sysdeps/arm/preconfigure.ac index 39c86218aa..29a260c30b 100644 --- a/sysdeps/arm/preconfigure.ac +++ b/sysdeps/arm/preconfigure.ac @@ -56,3 +56,11 @@ arm*) machine=arm/$machine esac + +case "$machine" in +arm*) + # Parameters to allow auto-detection of -z relro. + libc_commonpagesize=0x1000 + libc_relro_required=yes + ;; +esac |