From 12a0002c0341cef749e935be845c965e24b9b0b9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 23 Mar 2022 09:43:25 +0200 Subject: gn: Add hello-static --- gn/packages/riscv.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gn') 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 -- cgit v1.2.3