Subject: [PATCH v2 5/8] gnu: cbqn: Build using GCC.

From: Liliana Marie Prikler <[email-masked]>
Date: Sat, 22 Oct 2022 20:43:05 +0200

* gnu/packages/bqn.scm (cbqn-bootstrap, cbqn)[#:make-flags]: Set CC via
‘cc-for-target’.
[inputs]: Remove clang-toolchain.
---
 gnu/packages/bqn.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm
index bc714c3d49..fcf2e98bc7 100644
--- a/gnu/packages/bqn.scm
+++ b/gnu/packages/bqn.scm
@@ -142,6 +142,7 @@ (define cbqn-bootstrap
       (build-system gnu-build-system)
       (arguments
        (list #:tests? #f                         ;skipping tests for bootstrap
+             #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
              #:phases #~(modify-phases %standard-phases
                           (delete 'configure)
                           (add-before 'build 'generate-bytecode
@@ -156,7 +157,7 @@ (define cbqn-bootstrap
                               (copy-recursively "BQN"
                                                 (string-append #$output
                                                                "/bin/bqn")))))))
-      (native-inputs (list dbqn clang-toolchain bqn-sources))
+      (native-inputs (list dbqn bqn-sources))
       (inputs (list icedtea-8 libffi))
       (synopsis "BQN implementation in C")
       (description "This package provides the reference implementation of
@@ -202,5 +203,4 @@ (define-public cbqn
     (native-inputs (list dbqn
                          bqn-sources
                          libffi
-                         clang-toolchain
                          linux-libre-headers))))
-- 
2.38.0