aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-04-21 23:04:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-04-21 23:04:25 +0300
commitc80629e7c2840c72effe398b351af9038f9cd44a (patch)
tree7627859a69cd19219a59ebc31f37d5d4c187f53e
parent841f833171c59054d3d32430f9107431d440df71 (diff)
downloadguix-c80629e7c2840c72effe398b351af9038f9cd44a.tar
guix-c80629e7c2840c72effe398b351af9038f9cd44a.tar.gz
gnu: freefall: Fix compilation error.
* gnu/packages/linux.scm (freefall)[arguments]: Add make-flag to set CC=gcc.
-rw-r--r--gnu/packages/linux.scm3
1 files changed, 2 insertions, 1 deletions
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")