2025-04-14 11:54:47 +00:00

19 lines
617 B
Plaintext

# --- T2-COPYRIGHT-BEGIN ---
# t2/package/*/ppl/ppl.conf
# Copyright (C) 2009 - 2025 The T2 SDE Project
# SPDX-License-Identifier: GPL-2.0
# --- T2-COPYRIGHT-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 confopt ' ' '--with-libgmp-prefix=$root --with-libgmpxx-prefix=$root'
fi
atstage cross && var_append confopt ' ' '--enable-interfaces="c" --disable-optimization'