From 884cf293f5e407da48eff5feeb5e90e7bf37adfe Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 May 2024 11:40:42 +0300 Subject: [PATCH] gnu: java-swt: Fix build on some systems. * gnu/packages/java.scm (java-swt)[arguments]: Adjust the custom 'build-native phase to set the C compiler. Change-Id: Ie961ea91e5cd2ce9fc7b2228e08d082a5a1cfe06 --- gnu/packages/java.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index a54c1d1d06..496dfe8708 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2017, 2019, 2021 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2019 Gábor Boskovits ;;; Copyright © 2018 Chris Marusich -;;; Copyright © 2018-2023 Efraim Flashner +;;; Copyright © 2018-2024 Efraim Flashner ;;; Copyright © 2019, 2020, 2021 Björn Höfling ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2020 Raghav Gururajan @@ -3102,6 +3102,7 @@ (define-public java-swt ;; package output. (mkdir-p lib) (setenv "OUTPUT_DIR" lib) + (setenv "CC" ,(cc-for-target)) (with-directory-excursion "src" (invoke "bash" "build.sh"))))) (add-after 'install 'install-native