<p>Patrick Georgi has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20612">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">crossgcc: patch out uses of $(P) variable from gcc/ada build<br><br>Gentoo likes to use that variable for itself and insists on keeping it.<br>Meanwhile it doesn't seem to be set or used anywhere else in the gcc<br>build, and it seems there was a big $(P)-pruning going on in 2000,<br>so why is it even (still) there?<br><br>Change-Id: I2c2bdf9cb215c489f760f43642a86592924e4e65<br>Signed-off-by: Patrick Georgi <pgeorgi@google.com><br>---<br>A util/crossgcc/patches/gcc-6.3.0_no-p-var.patch<br>1 file changed, 15 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/20612/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/util/crossgcc/patches/gcc-6.3.0_no-p-var.patch b/util/crossgcc/patches/gcc-6.3.0_no-p-var.patch<br>new file mode 100644<br>index 0000000..0600a66<br>--- /dev/null<br>+++ b/util/crossgcc/patches/gcc-6.3.0_no-p-var.patch<br>@@ -0,0 +1,15 @@<br>+--- gcc-6.3.0/gcc/ada/gcc-interface/Makefile.in.orig        2017-07-17 12:52:05.541815635 +0200<br>++++ gcc-6.3.0/gcc/ada/gcc-interface/Makefile.in   2017-07-17 12:52:18.693764268 +0200<br>+@@ -2637,10 +2637,10 @@<br>+ #  stamp target in the parent directory whenever gnat1 is rebuilt<br>+ <br>+ # Likewise for the tools<br>+-../../gnatmake$(exeext): $(P) b_gnatm.o $(GNATMAKE_OBJS)<br>++../../gnatmake$(exeext): b_gnatm.o $(GNATMAKE_OBJS)<br>+        +$(GCC_LINK) $(ALL_CFLAGS) -o $@ b_gnatm.o $(GNATMAKE_OBJS) $(TOOLS_LIBS) $(TOOLS1_LIBS)<br>+ <br>+-../../gnatlink$(exeext): $(P) b_gnatl.o $(GNATLINK_OBJS)<br>++../../gnatlink$(exeext): b_gnatl.o $(GNATLINK_OBJS)<br>+      +$(GCC_LINK) $(ALL_CFLAGS) -o $@ b_gnatl.o $(GNATLINK_OBJS) $(TOOLS_LIBS) $(TOOLS1_LIBS)<br>+ <br>+ ../stamp-gnatlib-$(RTSDIR):<br></pre><p>To view, visit <a href="https://review.coreboot.org/20612">change 20612</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/20612"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I2c2bdf9cb215c489f760f43642a86592924e4e65 </div>
<div style="display:none"> Gerrit-Change-Number: 20612 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Georgi <pgeorgi@google.com> </div>