From c80629e7c2840c72effe398b351af9038f9cd44a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 21 Apr 2018 23:04:11 +0300 Subject: [PATCH] gnu: freefall: Fix compilation error. * gnu/packages/linux.scm (freefall)[arguments]: Add make-flag to set CC=gcc. --- gnu/packages/linux.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e28f09fda9..1d9585e7f1 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3307,7 +3307,8 @@ disks and SD cards. This package provides the userland utilities.") (substitute* "freefall.c" (("alarm\\(2\\)") "alarm(5)"))))) #:make-flags (list (string-append "PREFIX=" - (assoc-ref %outputs "out"))) + (assoc-ref %outputs "out")) + "CC=gcc") #:tests? #f)) ;no tests (home-page (package-home-page linux-libre)) (synopsis "Free-fall protection for spinning laptop hard drives")