# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by scripts/Create-CopyPatch. # # T2 SDE: package/*/gcc-spe/gcc-spe.conf # Copyright (C) 2004 - 2021 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- var_append confopt ' ' '--target=spu --program-prefix=spu-' # at least the fortran parts get unresolved errors when we remove -Werror??? var_remove GCC_WRAPPER_REMOVE " " "-Werror" languages="c,c++" # we might build a SVN or prereleases, disable checking var_append confopt ' ' '--disable-checking --disable-libssp --disable-threads' var_append confopt ' ' '--disable-bootstrap --disable-shared --mandir=$root/tmp --infodir=$root/tmp' atstage toolchain && var_append confopt ' ' '--disable-libstdc++-v3' if ! atstage native; then var_append confopt " " "--with-as=$sysroot/TOOLCHAIN/$toolsdir$bindir/spu-as" var_append confopt " " "--with-ld=$sysroot/TOOLCHAIN/$toolsdir$bindir/spu-ld" else var_append confopt " " "--with-as=$bindir/spu-as --with-ld=$bindir/spu-ld" fi var_append confopt " " "--disable-libmudflap --disable-libsanitizer --disable-libstdc++-v3" var_append confopt " " "--disable-libquadmath --disable-decimal-float --disable-libitm --disable-libcilkrts" var_insert confopt ' ' '--enable-languages=$languages' # remove canadian cross toolchain prefix, for the native host install atstage cross && hook_add inmake 5 "sed -i 's,\".*usr/bin,\"/usr/bin,' gcc/auto-host.h" var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,.*\.mo,/tmp/x,'"