[coreboot-gerrit] Change in coreboot[master]: crossgcc: patch out uses of $(P) variable from gcc/ada build

Patrick Georgi (Code Review) gerrit at coreboot.org
Mon Jul 17 12:56:46 CEST 2017


Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/20612


Change subject: crossgcc: patch out uses of $(P) variable from gcc/ada build
......................................................................

crossgcc: patch out uses of $(P) variable from gcc/ada build

Gentoo likes to use that variable for itself and insists on keeping it.
Meanwhile it doesn't seem to be set or used anywhere else in the gcc
build, and it seems there was a big $(P)-pruning going on in 2000,
so why is it even (still) there?

Change-Id: I2c2bdf9cb215c489f760f43642a86592924e4e65
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
A util/crossgcc/patches/gcc-6.3.0_no-p-var.patch
1 file changed, 15 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/20612/1

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
new file mode 100644
index 0000000..0600a66
--- /dev/null
+++ b/util/crossgcc/patches/gcc-6.3.0_no-p-var.patch
@@ -0,0 +1,15 @@
+--- gcc-6.3.0/gcc/ada/gcc-interface/Makefile.in.orig	2017-07-17 12:52:05.541815635 +0200
++++ gcc-6.3.0/gcc/ada/gcc-interface/Makefile.in	2017-07-17 12:52:18.693764268 +0200
+@@ -2637,10 +2637,10 @@
+ #  stamp target in the parent directory whenever gnat1 is rebuilt
+ 
+ # Likewise for the tools
+-../../gnatmake$(exeext): $(P) b_gnatm.o $(GNATMAKE_OBJS)
++../../gnatmake$(exeext): b_gnatm.o $(GNATMAKE_OBJS)
+ 	+$(GCC_LINK) $(ALL_CFLAGS) -o $@ b_gnatm.o $(GNATMAKE_OBJS) $(TOOLS_LIBS) $(TOOLS1_LIBS)
+ 
+-../../gnatlink$(exeext): $(P) b_gnatl.o $(GNATLINK_OBJS)
++../../gnatlink$(exeext): b_gnatl.o $(GNATLINK_OBJS)
+ 	+$(GCC_LINK) $(ALL_CFLAGS) -o $@ b_gnatl.o $(GNATLINK_OBJS) $(TOOLS_LIBS) $(TOOLS1_LIBS)
+ 
+ ../stamp-gnatlib-$(RTSDIR):

-- 
To view, visit https://review.coreboot.org/20612
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c2bdf9cb215c489f760f43642a86592924e4e65
Gerrit-Change-Number: 20612
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170717/74bec7fa/attachment.html>


More information about the coreboot-gerrit mailing list