@@ -481,6 +481,8 @@ (define make-libstdc++-arm-none-eabi
(package
(inherit libstdc++)
(name "libstdc++-arm-none-eabi")
+ ; TODO When --libdir is specified, debug output is not produced.
+ (outputs '("out"))
(arguments
(substitute-keyword-arguments (package-arguments libstdc++)
((#:configure-flags _)
@@ -493,6 +495,9 @@ (define make-libstdc++-arm-none-eabi
"--disable-tls"
"--disable-plugin"
"--with-newlib"
+ ,(string-append "--libdir="
+ (assoc-ref %outputs "out")
+ "/arm-none-eabi/lib")
,(string-append "--with-gxx-include-dir="
(assoc-ref %outputs "out")
"/arm-none-eabi/include/c++")))))