Browse Source

* fixed tar cross-compiling by injecting '__restrict' into config.cache

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21320 10447126-35f2-4685-b0cf-6dd780d3921f
early
Christian Wiese 18 years ago
parent
commit
e810eb7a12
  1. 9
      archiver/tar/tar.conf

9
archiver/tar/tar.conf

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../tar/tar.conf
# Filename: package/.../tar/tar.conf
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -11,10 +12,12 @@
# 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.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
var_append confopt ' ' '-C'
atstage cross && var_append configcache ' ' "ac_cv_c_restrict=__restrict"
if ! atstage toolchain; then
hook_add postmake 5 "mv -v $root/usr/bin/tar $root/bin/tar ; \
install -m 0644 -o root -g root ${builddir}/$pkg-$ver/tar.1 $root/usr/man/man1/"

Loading…
Cancel
Save