Browse Source

mine: fixed to only use cross-compiler confopts and config.cache when cross-compiling

stable/0.6
Christian Wiese 11 years ago
parent
commit
6134c35d95
  1. 6
      archiver/mine/mine.conf

6
archiver/mine/mine.conf

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mine/mine.conf
# Copyright (C) 2014 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -13,7 +14,11 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if atstage cross; then
makeopt="$makeopt CONFOPT=\"--build=\$arch_build --host=\$arch_target --cache-file=../config.cache\""
hook_add premake 5 "create_config_cache > config.cache"
fi
makeinstopt="$makeinstopt sysprefix=$root"
if atstage native && [ -f $root/var/adm/packages/dialog ]; then
@ -22,7 +27,6 @@ if atstage native && [ -f $root/var/adm/packages/dialog ]; then
else
makeopt="$makeopt USE_GAS=0"
makeinstopt="$makeinstopt USE_GAS=0"
hook_add premake 5 "create_config_cache > config.cache"
fi
var_append makeinstopt " " "prefix=$root/$prefix sysprefix=$root/"

Loading…
Cancel
Save