xcompile: Use GCC wrappers for ar, nm
commitc44d1e2c7c5a609e7ea3893ddd6baf25ef3f5293
authorJacob Garber <jgarber1@ualberta.ca>
Wed, 2 Oct 2019 19:37:45 +0000 (2 13:37 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 24 Feb 2020 14:12:17 +0000 (24 14:12 +0000)
treecaa59c471ff19ca35c2d6a86e2842524f926cd2c
parent2119d0ba4345a19b9db7dc13e36f3fa57f75d234
xcompile: Use GCC wrappers for ar, nm

When compiling with GCC, use the special wrappers around ar and nm that
provide the path to the plugin they need to understand LTO object files.
These wrappers forward all other functionality to the underlying
programs, so they should otherwise be equivalent.

Change-Id: Ibdae4faabf67bf6a4bb8c38970f6189646ee74b3
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38290
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
util/xcompile/xcompile