cxa_atexit is on by default. Modified to: ifneq ($(with_cxa_atexit),yes) CONFARGS += --disable-__cxa_atexit endif
Joel Baker writes: > tag 159620 +patch > > diff -urN debian.orig/rules.defs debian/rules.defs > --- debian.orig/rules.defs Wed Sep 4 16:39:06 2002 > +++ debian/rules.defs Wed Sep 4 16:45:59 2002 > @@ -100,6 +100,13 @@ > enabled_languages += c++ > endif > > +# __cxa_atexit ------------- > +# The __cxa_atexit API does not exist in some libc version (NetBSD) > +with_cxa_atexit := yes > +ifeq ($(DEB_HOST_ARCH), $(findstring $(DEB_HOST_ARCH),netbsd)) > + with_cxa_atexit := disabled for architecture $(DEB_HOST_ARCH) > +endif > + > # Java -------------------- > # java converted for V3 C++ ABI for some archs > with_java := yes > diff -urN debian.orig/rules2 debian/rules2 > --- debian.orig/rules2 Wed Sep 4 16:39:02 2002 > +++ debian/rules2 Wed Sep 4 16:41:18 2002 > @@ -62,8 +62,11 @@ > --enable-shared \ > --with-system-zlib \ > --enable-nls \ > - --without-included-gettext \ > - --enable-__cxa_atexit > + --without-included-gettext > + > +ifeq ($(with_cxa_atexit),yes) > + CONFARGS += --enable-__cxa_atexit > +endif > > ifeq ($(with_java),yes) > CONFARGS += --enable-java-gc=boehm > -- > *************************************************************************** > Joel Baker System Administrator - lightbearer.com > [EMAIL PROTECTED] http://users.lightbearer.com/lucifer/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]