summaryrefslogtreecommitdiff
path: root/debian/patches/arm-multilib-defaults.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/arm-multilib-defaults.diff')
-rw-r--r--debian/patches/arm-multilib-defaults.diff14
1 files changed, 5 insertions, 9 deletions
diff --git a/debian/patches/arm-multilib-defaults.diff b/debian/patches/arm-multilib-defaults.diff
index c2a623b..b9e187c 100644
--- a/debian/patches/arm-multilib-defaults.diff
+++ b/debian/patches/arm-multilib-defaults.diff
@@ -1,11 +1,9 @@
# DP: Set MULTILIB_DEFAULTS for ARM multilib builds
-Index: b/src/gcc/config.gcc
-===================================================================
--- a/src/gcc/config.gcc
+++ b/src/gcc/config.gcc
-@@ -3738,10 +3738,18 @@ case "${target}" in
- fi
+@@ -3946,10 +3946,18 @@ case "${target}" in
+ done
case "$with_float" in
- "" \
@@ -25,7 +23,7 @@ Index: b/src/gcc/config.gcc
*)
echo "Unknown floating point type used in --with-float=$with_float" 1>&2
exit 1
-@@ -3775,6 +3783,9 @@ case "${target}" in
+@@ -3983,6 +3991,9 @@ case "${target}" in
"" \
| arm | thumb )
#OK
@@ -35,11 +33,9 @@ Index: b/src/gcc/config.gcc
;;
*)
echo "Unknown mode used in --with-mode=$with_mode"
-Index: b/src/gcc/config/arm/linux-eabi.h
-===================================================================
--- a/src/gcc/config/arm/linux-eabi.h
+++ b/src/gcc/config/arm/linux-eabi.h
-@@ -43,7 +43,21 @@
+@@ -37,7 +37,21 @@
target hardware. If you override this to use the hard-float ABI then
change the setting of GLIBC_DYNAMIC_LINKER_DEFAULT as well. */
#undef TARGET_DEFAULT_FLOAT_ABI
@@ -61,7 +57,7 @@ Index: b/src/gcc/config/arm/linux-eabi.h
/* We default to the "aapcs-linux" ABI so that enums are int-sized by
default. */
-@@ -103,6 +117,28 @@
+@@ -91,6 +105,28 @@
#define MUSL_DYNAMIC_LINKER \
"/lib/ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}.so.1"