~ruther/guix-local

541ed7b03002d8888d01cf377525ad06d071d070 — Ricardo Wurmus 10 years ago a763ce7
gnu: cross-gcc-arguments: Enable C++, disable building of libstdc++-v3.

* gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Disable
  building libstdc++-v3 and enable building C++ compiler.
1 files changed, 5 insertions(+), 4 deletions(-)

M gnu/packages/cross-base.scm
M gnu/packages/cross-base.scm => gnu/packages/cross-base.scm +5 -4
@@ 105,11 105,12 @@ may be either a libc package or #f.)"
                               "--disable-libcilkrts")
                             `( ;; Disable features not needed at this stage.
                               "--disable-shared" "--enable-static"
                               "--enable-languages=c,c++"

                               ;; Disable C++ because libstdc++'s configure
                               ;; script otherwise fails with "Link tests are not
                               ;; allowed after GCC_NO_EXECUTABLES."
                               "--enable-languages=c"
                               ;; libstdc++ cannot be built at this stage
                               ;; ("Link tests are not allowed after
                               ;; GCC_NO_EXECUTABLES.").
                               "--disable-libstdc++-v3"

                               "--disable-threads" ;libgcc, would need libc
                               "--disable-libatomic"