From 9995f7ebbca4acf9da052c008a3194f9d7e9bee6 Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Thu, 24 Sep 2020 17:17:08 +0300
Subject: [PATCH] gnu: xmagnify: Use cc-for-target.

* gnu/packages/accessibility.scm (xmagnify)[arguments]: Replace
hard-coded gcc with cc-for-target in make-flags.
---
 gnu/packages/accessibility.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm
index 34031545ddc..5180f88baef 100644
--- a/gnu/packages/accessibility.scm
+++ b/gnu/packages/accessibility.scm
@@ -309,7 +309,7 @@ (define-public xmagnify
     (arguments
      `(#:tests? #f ; none included
        #:make-flags
-       (list "CC=gcc"
+       (list (string-append "CC=" ,(cc-for-target))
              (string-append "prefix=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases
-- 
GitLab