# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/ppl/ppl.conf # Copyright (C) 2009 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # 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 version 2. # --- T2-COPYRIGHT-NOTE-END --- if atstage toolchain; then # use the host g++ for toolchain stage export CXX=g++ # via LDFLAGS for libtool export LDFLAGS="-L$root$libdir -Wl,-rpath,${root}${libdir}" var_append SYSGCC_WRAPPER_INSERT " " "-I$root$includedir" # guide to pick up the right libs in cross var_append extraconfopt ' ' '--with-libgmp-prefix=$root --with-libgmpxx-prefix=$root' fi atstage cross && var_append confopt ' ' '--enable-interfaces="c" --disable-optimization'