# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by scripts/Create-CopyPatch. # # T2 SDE: package/*/orbit2/orbit2.conf # Copyright (C) 2007 - 2021 The T2 SDE 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. # --- T2-COPYRIGHT-NOTE-END --- if ! atstage toolchain; then . $base/package/*/*/gnome-conf.in fi pkginstalled openssl && var_append confopt ' ' '--with-openssl' orbit2_fill_cache() { cat >> config.cache <<-EOT ac_cv_alignof_CORBA_octet=1 ac_cv_alignof_CORBA_boolean=1 ac_cv_alignof_CORBA_char=1 ac_cv_alignof_CORBA_wchar=2 ac_cv_alignof_CORBA_short=$arch_sizeof_short ac_cv_alignof_CORBA_long=$arch_sizeof_long ac_cv_alignof_CORBA_long_long=$arch_sizeof_long_long ac_cv_alignof_CORBA_float=4 ac_cv_alignof_CORBA_double=8 ac_cv_alignof_CORBA_long_double=8 ac_cv_alignof_CORBA_struct=1 ac_cv_alignof_CORBA_pointer=$arch_sizeof_char_p EOT } if atstage cross; then # use a native orbit-idl compiler, hack for now, but should # continoue to work when we build a native orbit-idl in stage 0, # ... -ReneR var_append makeopt ' ' "IDL_COMPILER=`which orbit-idl-2`" hook_add preconf 5 orbit2_fill_cache fi var_append GCC_WRAPPER_REMOVE ' ' '-DG_DISABLE_DEPRECATED'