devel/avr-gcc: fix build on powerpc64 elfv2

This port needs a patch similar to other GCC ports to avoid namespace collision on powerpc64 elfv2.

PR:		242284
Approved by:	joerg (maintainer timeout)
This commit is contained in:
Piotr Kubaj 2019-12-12 14:57:24 +00:00
parent 59c0a12612
commit 936b4eeb1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519930

View file

@ -0,0 +1,11 @@
--- gcc/tree-vect-loop.c.orig 2019-11-28 10:47:59 UTC
+++ gcc/tree-vect-loop.c
@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see
#include "vec-perm-indices.h"
#include "tree-eh.h"
+#define vec_step vec_step_
+
/* Loop Vectorization Pass.
This pass tries to vectorize loops.