mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: ksoloti-patcher: Fix cross compiler variables.
This is a follow-up to commit 90f3f40990.
* gnu/packages/axoloti.scm (ksoloti-patcher)[arguments]: Update environment
variables in Ksoloti executable.
Change-Id: Ie7fafc1e520645f9264e1346ff38b9865b5109a0
This commit is contained in:
parent
1bdf8a450f
commit
ce51a41828
1 changed files with 5 additions and 4 deletions
|
|
@ -858,18 +858,19 @@ This package provides the runtime.")
|
|||
(runtime (search-input-directory inputs
|
||||
"share/ksoloti"))
|
||||
(toolchain (assoc-ref inputs "cross-toolchain"))
|
||||
(libstdc++ (assoc-ref inputs "libstdc++"))
|
||||
(includes (string-append
|
||||
toolchain
|
||||
"/arm-none-eabi/include/:"
|
||||
toolchain
|
||||
"/arm-none-eabi/include/c++:"
|
||||
libstdc++
|
||||
"/arm-none-eabi/include/c++/arm-none-eabi/thumb/v7-m/nofp:"
|
||||
toolchain
|
||||
"/arm-none-eabi/include/c++/arm-none-eabi/armv7e-m"))
|
||||
"/arm-none-eabi/include/"))
|
||||
(marlin.jar
|
||||
(search-input-file inputs "/share/java/marlin.jar")))
|
||||
(display
|
||||
(string-append "#!" (which "sh") "\n"
|
||||
"export CROSS_CPATH=" includes "\n"
|
||||
"export PATH=" toolchain "/bin:$PATH\n"
|
||||
"export CROSS_CPLUS_INCLUDE_PATH=" includes "\n"
|
||||
"export CROSS_LIBRARY_PATH="
|
||||
toolchain "/arm-none-eabi/lib" "\n"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue