summaryrefslogtreecommitdiff
path: root/packages/glibc-ports/2.13/0012-support-hard-float-eabi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc-ports/2.13/0012-support-hard-float-eabi.patch')
-rw-r--r--packages/glibc-ports/2.13/0012-support-hard-float-eabi.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/glibc-ports/2.13/0012-support-hard-float-eabi.patch b/packages/glibc-ports/2.13/0012-support-hard-float-eabi.patch
new file mode 100644
index 0000000..9391e88
--- /dev/null
+++ b/packages/glibc-ports/2.13/0012-support-hard-float-eabi.patch
@@ -0,0 +1,25 @@
+---
+ sysdeps/arm/preconfigure | 2 +-
+ sysdeps/arm/shlib-versions | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+--- a/sysdeps/arm/preconfigure
++++ b/sysdeps/arm/preconfigure
+@@ -2,7 +2,7 @@
+ arm*)
+ base_machine=arm
+ case $config_os in
+- linux-gnueabi)
++ linux-gnueabi*)
+ machine=arm/eabi/$machine
+ if [ "${CFLAGS+set}" != "set" ]; then
+ CFLAGS="-g -O2"
+--- a/sysdeps/arm/shlib-versions
++++ b/sysdeps/arm/shlib-versions
+@@ -1,4 +1,4 @@
+-arm.*-.*-linux-gnueabi DEFAULT GLIBC_2.4
++arm.*-.*-linux-gnueabi.* DEFAULT GLIBC_2.4
+
+-arm.*-.*-linux-gnueabi ld=ld-linux.so.3
++arm.*-.*-linux-gnueabi.* ld=ld-linux.so.3
+ arm.*-.*-linux.* ld=ld-linux.so.2