Subject: Re: [bug#57437] [PATCH] Add the wmamixer window maker applet package

From: Maxime Devos <[email-masked]>
Date: Tue, 6 Sep 2022 13:12:30 +0200

On 26-08-2022 22:06, Jessica Tallon wrote:
> +          ;; The make file doesn't support these phases.
> +          (delete 'configure)

The Makefile uses gcc, even when compiling natively. But when 
cross-compiling, it needs to use a cross-compiler.

You will need to replace 'gcc' by (cc-for-target):

(replace 'configure
   (lambda _
     (substitute "Makefile"
       ;; For cross-compilation.
       (("\\bgcc\\b") #$(cc-for-target))
       ;; Stripping is already handled by gnu-build-system.
       (("\\bstrip\\b") ":"))))

Greetings,
Maxime.