You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.1 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ppl/ppl.conf
# Copyright (C) 2009 - 2012 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 ---
# we patch configure.ac and m4 files for getting a more decent way to specify
# gmp libdir and includedir
hook_add preconf 9 'autoreconf -vfis'
# use the host g++ and the native libs and headers we have in tools.cross
if atstage toolchain; then
export CXX=g++
export LDFLAGS="-Wl,-rpath,${root}${libdir}"
var_append SYSGCC_WRAPPER_INSERT " " "-I${root}${includedir}"
var_append extraconfopt ' ' "--with-gmp-lib=$( pkgprefix -r libdir gmp )"
var_append extraconfopt ' ' "--with-gmp-include=$( pkgprefix -r includedir gmp )"
fi