aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/riscv.scm
diff options
context:
space:
mode:
authorEfraim Flashner2022-03-23 09:43:25 +0200
committerEfraim Flashner2022-03-23 09:43:25 +0200
commit12a0002c0341cef749e935be845c965e24b9b0b9 (patch)
treebfa4cc83cd3020167b867302fdec36415c1061fa /gn/packages/riscv.scm
parent393ea58b0bce8c2c4a363f7acf852cdb9f5fb996 (diff)
downloadguix-bioinformatics-12a0002c0341cef749e935be845c965e24b9b0b9.tar.gz
gn: Add hello-static
Diffstat (limited to 'gn/packages/riscv.scm')
-rw-r--r--gn/packages/riscv.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gn/packages/riscv.scm b/gn/packages/riscv.scm
index 90de616..0229b33 100644
--- a/gn/packages/riscv.scm
+++ b/gn/packages/riscv.scm
@@ -16,6 +16,7 @@
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
+ #:use-module (gnu packages base)
#:use-module (gnu packages bioinformatics)
#:use-module (gnu packages cpp)
#:use-module (gnu packages compression)
@@ -23,6 +24,16 @@
#:use-module (gnu packages maths))
+;; Static hello, for testing
+(define-public hello-static
+ (package
+ (inherit hello)
+ (name "hello-static")
+ (arguments
+ (substitute-keyword-arguments (package-arguments hello)
+ ((#:make-flags _ ''())
+ `(list "CFLAGS=-static"))))))
+
;; Improvements to riscv support have been merged since the last release.
(define-public atomic-queue-git
(let ((commit "7d75e9ed0359650224b29cdf6728c5fe0a19fffb") ; 2022-03-11