Browse Source

Fixed psmisc to cross-compile

While cross-compiling configure cannot detect a GNU libc compatible malloc
or realloc so we have to help by tweaking through config.cache.
early
Christian Wiese 17 years ago
parent
commit
b207b30ce3
  1. 20
      base/psmisc/psmisc.conf

20
base/psmisc/psmisc.conf

@ -0,0 +1,20 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../psmisc/psmisc.conf
# Copyright (C) 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 ---
# while cross-compiling configure cannot detect a GNU libc compatible malloc
# or realloc
if ! atstage native ; then
var_append configcache ' ' "ac_cv_func_malloc_0_nonnull=yes"
var_append configcache ' ' "ac_cv_func_realloc_0_nonnull=yes"
fi
Loading…
Cancel
Save