From cde5a91a8ad4b428ed486c520788c16a3bc731be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= <gaetan.harter@fu-berlin.de>
Date: Mon, 23 Jul 2018 16:25:34 +0200
Subject: [PATCH] toolchain/gnu: also define NM

llvm is defining NM already and `openthread` is using the symbol.
---
 makefiles/toolchain/gnu.inc.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/makefiles/toolchain/gnu.inc.mk b/makefiles/toolchain/gnu.inc.mk
index 039b8aa14d..6c9fddb83d 100644
--- a/makefiles/toolchain/gnu.inc.mk
+++ b/makefiles/toolchain/gnu.inc.mk
@@ -9,6 +9,7 @@ export AR         = $(PREFIX)ar
 export RANLIB     = $(PREFIX)ranlib
 endif
 export AS         = $(PREFIX)as
+export NM         = $(PREFIX)nm
 export LINK       = $(PREFIX)gcc
 export LINKXX     = $(PREFIX)g++
 export SIZE       = $(PREFIX)size
-- 
GitLab