summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Davidsaver <mdavidsaver@gmail.com>2020-09-19 07:49:25 -0700
committerJoel Sherrill <joel@rtems.org>2020-09-21 14:54:54 -0500
commitebc3abe40309f47f3d024c6f2636d9682863a9e6 (patch)
treeeeafda464702e6170465da0ad63cc455d1130718
parent46e9d4911f0944fbd070ec4d34ba13594b20c4a4 (diff)
downloadrtems-source-builder-ebc3abe40309f47f3d024c6f2636d9682863a9e6.tar.bz2
patch gcc i386 multiarch
Add patch to change from mtune to march when building multilibs. The mtune argument tunes or optimizes for a specific CPU model but does not ensure the generated code is appropriate for the CPU model. Prior to this patch, i386 compatible code was always generated but tuned for later models. Closes #2830.
-rw-r--r--rtems/config/5/rtems-i386.bset4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtems/config/5/rtems-i386.bset b/rtems/config/5/rtems-i386.bset
index 7fd0313..a971aa7 100644
--- a/rtems/config/5/rtems-i386.bset
+++ b/rtems/config/5/rtems-i386.bset
@@ -1,4 +1,8 @@
%define release 1
%define rtems_arch i386
%define with_libgomp
+
+%patch add gcc https://devel.rtems.org/raw-attachment/ticket/2830/gcc-7.5.0-i386march-1.diff
+%hash sha256 gcc-7.5.0-i386march-1.diff e6664ff45e8ae8bfcf292bed1bbace1d5be6f1c3bd625cdb141bbe24c986f5d7
+
%include 5/rtems-default.bset