From 08454a985f92e254eed7130be12d3d9e6673c64a Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 17 Aug 2017 13:17:50 -0700 Subject: GCC: 7.1 -> 7.2 Signed-off-by: Alexey Neyman --- packages/gcc/7.2.0/971-crystax.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/gcc/7.2.0/971-crystax.patch (limited to 'packages/gcc/7.2.0/971-crystax.patch') diff --git a/packages/gcc/7.2.0/971-crystax.patch b/packages/gcc/7.2.0/971-crystax.patch new file mode 100644 index 00000000..748a3812 --- /dev/null +++ b/packages/gcc/7.2.0/971-crystax.patch @@ -0,0 +1,25 @@ +commit 9f057b62caafe08c968103d39b5df82486a175c2 +Author: Dmitry Moskalchuk +Date: Thu Aug 13 16:11:54 2015 +0300 + + [android] Add additional multilib option: mfloat-abi=hard + + Signed-off-by: Dmitry Moskalchuk + +diff --git a/gcc/config/arm/t-linux-androideabi b/gcc/config/arm/t-linux-androideabi +index 8f1307c55..cbbec5bd2 100644 +--- a/gcc/config/arm/t-linux-androideabi ++++ b/gcc/config/arm/t-linux-androideabi +@@ -1,8 +1,9 @@ +-MULTILIB_OPTIONS = march=armv7-a mthumb +-MULTILIB_DIRNAMES = armv7-a thumb +-MULTILIB_EXCEPTIONS = ++MULTILIB_OPTIONS = march=armv7-a mthumb mfloat-abi=hard ++MULTILIB_DIRNAMES = armv7-a thumb hard ++MULTILIB_EXCEPTIONS = mfloat-abi=hard* mthumb/mfloat-abi=hard* + MULTILIB_MATCHES = + MULTILIB_OSDIRNAMES = ++MULTILIB_EXTRA_OPTS = Wl,--no-warn-mismatch + + # The "special" multilib can be used to build native applications for Android, + # as opposed to native shared libraries that are then called via JNI. -- cgit v1.2.3