Browse Source

Moved the default config.cache for cross compilations from lib/sde-build to architecture/share

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
584f77bdc5
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      architecture/share/config.cache
  2. +4
    -2
      lib/functions.in

lib/sde-build/config.cache → architecture/share/config.cache

@ -1,7 +1,7 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/sde-build/config.cache
# Filename: architecture/share/config.cache
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2005 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf

+ 4
- 2
lib/functions.in

@ -440,11 +440,12 @@ rock_substitute() {
# packages to cross-build correctly in stages 0 and 1.
#
create_config_cache() {
cat $base/lib/sde-build/config.cache
cat $base/architecture/share/config.cache
if [ $createarchcache -eq 1 ]; then
cat <<-EOT
# Architecture specific stuff\n"
# Architecture specific stuff
#
arch_sizeof_char=1
ac_cv_sizeof_short=$arch_sizeof_short
ac_cv_sizeof_int=$arch_sizeof_int
@ -453,6 +454,7 @@ create_config_cache() {
ac_cv_sizeof_char_p=$arch_sizeof_char_p
ac_cv_sizeof_void_p=$arch_sizeof_char_p
ac_cv_c_bigendian=$arch_bigendian
EOT
fi
}

Loading…
Cancel
Save