aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/riscv.scm
diff options
context:
space:
mode:
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