mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: make-libstdc++-arm-none-eabi: output libstdc++ to arm-none-eabi.
The libstdc++ made for arm-none-eabi puts the contents into "lib" folder, but that's unexpected when the resulting toolchain is a cross toolchain. The folder should be "arm-none-eabi/lib", that's the path added to CROSS_C_LIBRARY_PATH * gnu/packages/embedded.scm (make-libstdc++-arm-none-eabi): [arguments]<#:configure-flags>: Point --libdir to arm-none-eabi/lib. [arguments]<#:strip-directories>: Set to arm-none-eabi/lib. Change-Id: Ia8b867a1c6ebeedeae9564e0a6a1e0401b35bd5b Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ce8872fe9d
commit
3f09b05d8d
1 changed files with 6 additions and 1 deletions
|
@ -493,9 +493,14 @@ (define make-libstdc++-arm-none-eabi
|
||||||
"--disable-tls"
|
"--disable-tls"
|
||||||
"--disable-plugin"
|
"--disable-plugin"
|
||||||
"--with-newlib"
|
"--with-newlib"
|
||||||
|
,(string-append "--libdir="
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/arm-none-eabi/lib")
|
||||||
,(string-append "--with-gxx-include-dir="
|
,(string-append "--with-gxx-include-dir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/arm-none-eabi/include/c++")))))
|
"/arm-none-eabi/include/c++")))
|
||||||
|
((#:strip-directories _ #f)
|
||||||
|
''("arm-none-eabi/lib"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("newlib" ,newlib)
|
`(("newlib" ,newlib)
|
||||||
("xgcc" ,xgcc)
|
("xgcc" ,xgcc)
|
||||||
|
|
Loading…
Reference in a new issue