|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../pkgconfig/pkgconfig.conf
|
|
|
|
# Copyright (C) 2006 - 2008 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 ---
|
|
|
|
|
|
|
|
if atstage cross; then
|
|
|
|
# hacks to cross compile it's internal glibc 1.2.10
|
|
|
|
#
|
|
|
|
# NOTE: sizeof_gmutex=24 is most probably invalid on other architectures
|
|
|
|
for x in has__inline=yes has__inline__=yes hasinline=yes \
|
|
|
|
sane_realloc=yes va_copy=yes __va_copy=yes va_val_copy=yes \
|
|
|
|
rtldglobal_broken=no uscore=no sizeof_gmutex=24
|
|
|
|
do
|
|
|
|
var_append configcache ' ' "glib_cv_$x"
|
|
|
|
done
|
|
|
|
var_append configcache ' ' 'ac_cv_func_getpwuid_r=yes'
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! atstage toolchain; then
|
|
|
|
hook_add postmake 5 'cp -vf $confdir/etc_profile.d_pkgconfig.txt $root/etc/profile.d/pkgconfig'
|
|
|
|
fi
|