From 5a53b4798c6efc81ecf7ffedebd852b1f8eaf9e4 Mon Sep 17 00:00:00 2001 From: Aegean Odyssey <57586704+aegean-odyssey@users.noreply.github.com> Date: Wed, 20 Jan 2021 07:13:46 +0000 Subject: [PATCH] make our arm-none-eabi-size smarter about finding its upstream program --- bin/arm-none-eabi-size | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/arm-none-eabi-size b/bin/arm-none-eabi-size index 2fe16922..869281c6 100755 --- a/bin/arm-none-eabi-size +++ b/bin/arm-none-eabi-size @@ -4,7 +4,7 @@ # Provides combined hexadecimal address and decimal size information. # Copyright (c) 2019 Aegean Associates, Inc. All rights reserved. -SIZE=/usr/bin/arm-none-eabi-size +SIZE=$(which -a arm-none-eabi-size | tail -n1) pretty_print() {