diff options
-rw-r--r-- | gn/packages/virtualization.scm | 6 |
1 files changed, 6 insertions, 0 deletions
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 |