Browse Source

Fixed gcc to explicitely disable __cxa_atexit for i386

early
Christian Wiese 17 years ago
parent
commit
e7d337f6c4
  1. 8
      base/gcc/gcc.conf

8
base/gcc/gcc.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gcc/gcc.conf
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -58,7 +58,11 @@ configscript="../configure"
# See http://gcc.gnu.org/gcc-3.2/c++-abi.html
# and http://www.codesourcery.com/cxx-abi/.
var_append confopt ' ' "--enable-__cxa_atexit"
if [ "$arch_machine" != "i386" ]; then
var_append confopt ' ' "--enable-__cxa_atexit"
else
var_append confopt ' ' "--disable-__cxa_atexit"
fi
# we might build a SVN or prereleases, disable checking
var_append confopt ' ' '--disable-checking'

Loading…
Cancel
Save