From 60606a73f685337545c052d5a01ee3ed3d4c58e6 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 29 Mar 2022 00:36:40 +0530 Subject: gnu: riscv-pk: Do not strip symbols fromhost and tohost. * gn/packages/virtualization.scm (riscv-pk)[arguments]: Keep symbols fromhost and tohost while stripping. --- gn/packages/virtualization.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gn/packages') diff --git a/gn/packages/virtualization.scm b/gn/packages/virtualization.scm index 7897162..0613e20 100644 --- a/gn/packages/virtualization.scm +++ b/gn/packages/virtualization.scm @@ -40,6 +40,12 @@ ;#:configure-flags ;#~(list "--host=riscv64-linux-gnu") #:target "riscv64-linux-gnu" + ;; Add flags to keep symbols fromhost and tohost. These symbols are + ;; required for the correct functioning of pk. + #:strip-flags '(list "--strip-unneeded" + "--keep-symbol=fromhost" + "--keep-symbol=tohost" + "--enable-deterministic-archives") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'force-install-directory -- cgit v1.2.3