[coreboot-gerrit] Change in coreboot[master]: xcompile: replace -print-librt-file-name with -print-libgcc-...

Patrick Georgi (Code Review) gerrit at coreboot.org
Tue May 16 10:52:39 CEST 2017


Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/19658 )

Change subject: xcompile: replace -print-librt-file-name with -print-libgcc-file-name
......................................................................


xcompile: replace -print-librt-file-name with -print-libgcc-file-name

The former only exists with a custom patch while the latter is supported
by clang and in the absense of libgcc even points to clang's own runtime
libraries.

Change-Id: I1e30d5518cf78e1d66925d6f2ccada60a43bb4f8
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
Reviewed-on: https://review.coreboot.org/19658
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec at google.com>
Reviewed-by: Martin Roth <martinroth at google.com>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude at gmail.com>
---
M util/xcompile/xcompile
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Philippe Mathieu-Daudé: Looks good to me, but someone else must approve
  Edward O'Callaghan: Looks good to me, but someone else must approve
  build bot (Jenkins): Verified
  Martin Roth: Looks good to me, approved



diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 32665f8..347ae8e 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -207,7 +207,7 @@
 
 detect_compiler_runtime() {
 	test -z "$CLANG" || \
-	CC_RT_CLANG="$(${CLANG} ${CFLAGS_CLANG} -print-librt-file-name 2>/dev/null)"
+	CC_RT_CLANG="$(${CLANG} -print-libgcc-file-name 2>/dev/null)"
 	test -z "$GCC" || \
 	CC_RT_GCC="$(${GCC} ${CFLAGS_GCC} -print-libgcc-file-name)"
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1e30d5518cf78e1d66925d6f2ccada60a43bb4f8
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Edward O'Callaghan <edward.ocallaghan at koparo.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec at google.com>
Gerrit-Reviewer: Martin Roth <martinroth at google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <philippe.mathieu.daude at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>



More information about the coreboot-gerrit mailing list