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.
master
Ricardo Wurmus 2016-01-11 19:43:25 +01:00
parent a763ce7da9
commit 541ed7b030
1 changed files with 5 additions and 4 deletions

View File

@ -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"