From 007c732c8c96eb6fb362b77fc072cb62356d7beb Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Fri, 29 Nov 2019 14:04:06 +0000 Subject: [PATCH] devel/psptoolchain-gcc-stage1: fix build on powerpc64 elfv2 When compiling on elfv2 abi, this port needs the same patch that was already committed to some other gcc ports. PR: 242281 Approved by: tphilipp@potion-studios.com (maintainer), mentors (implicit approval) --- .../files/patch-gcc_tree-vect-loop.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/psptoolchain-gcc-stage1/files/patch-gcc_tree-vect-loop.c diff --git a/devel/psptoolchain-gcc-stage1/files/patch-gcc_tree-vect-loop.c b/devel/psptoolchain-gcc-stage1/files/patch-gcc_tree-vect-loop.c new file mode 100644 index 000000000000..bfa533474e4d --- /dev/null +++ b/devel/psptoolchain-gcc-stage1/files/patch-gcc_tree-vect-loop.c @@ -0,0 +1,11 @@ +--- gcc/tree-vect-loop.c.orig 2019-11-27 20:05:37 UTC ++++ gcc/tree-vect-loop.c +@@ -56,6 +56,8 @@ along with GCC; see the file COPYING3. If not see + #include "tree-vectorizer.h" + #include "target.h" + ++#define vec_step vec_step_ ++ + /* Loop Vectorization Pass. + + This pass tries to vectorize loops.