Subject: [bug#44966] [PATCH] gnu: openocd: Fix build

From: [email-masked]
Date: Mon, 30 Nov 2020 12:20:04 -0500

From: Morgan Smith <[email-masked]>

* gnu/packages/embedded.scm (openocd)[arguments]: Add "LIBS=-lutil" to allow
it to build
---

So it turns out my pod doesn't need openocd so I'm not actually able to test
this at all. But going from not building to building seems like an improvment
in my eyes.

---
 gnu/packages/embedded.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 73375a211d..baeb2e3e2a 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -555,7 +555,8 @@ language.")
          ("libusb-compat" ,libusb-compat)))
       (arguments
        '(#:configure-flags
-         (append (list "--disable-werror"
+         (append (list "LIBS=-lutil"
+                       "--disable-werror"
                        "--enable-sysfsgpio"
                        "--disable-internal-jimtcl"
                        "--disable-internal-libjaylink")
-- 
2.29.2