From 379126bd04dded2c63cbd9c9cc2862ca05c0a7ca Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 30 Nov 2009 21:20:11 +0100 Subject: [PATCH] gmp: use the host g++ and the native libs at toolchain stage --- develop/ppl/ppl.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 develop/ppl/ppl.conf diff --git a/develop/ppl/ppl.conf b/develop/ppl/ppl.conf new file mode 100644 index 000000000..92145c5d6 --- /dev/null +++ b/develop/ppl/ppl.conf @@ -0,0 +1,21 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../ppl/ppl.conf +# Copyright (C) 2009 The OpenSDE 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. +# --- SDE-COPYRIGHT-NOTE-END --- + +# use the host g++ and the native libs we have built in tools.cross +if atstage toolchain; then + export CXX=g++ + export LDFLAGS="-Wl,-rpath,${root}${libdir}" + var_append extraconfopt ' ' '--with-libgmp-prefix=$root' + var_append extraconfopt ' ' '--with-libgmpxx-prefix=$root' +fi