[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#178326: Problems with __cxa_atexit conditionals

Package: gcc-3.2
Version: 3.2.2ds5
Severity: minor
Tags: patch

The detection arrangement for disabling __cxa_atexit appears to be failing
for reasons that are not entirely apparent; however, this patch brings the
setup more into line with the rest of the rules.defs architecture handling,
and fixes the problem.
Joel Baker <fenton@debian.org>
--- debian/rules.defs.orig	2003-01-22 16:31:22.000000000 +0000
+++ debian/rules.defs	2003-01-22 16:34:02.000000000 +0000
@@ -114,9 +114,11 @@
 # __cxa_atexit -------------
-# The __cxa_atexit API does not exist in some libc version (NetBSD)
+# The __cxa_atexit API does not exist in some libc versions (NetBSD)
 with_cxa_atexit := yes
-ifeq ($(DEB_HOST_ARCH), $(findstring $(DEB_HOST_ARCH),netbsd))
+no_cxa_archs := netbsd-i386
+ifeq ($(DEB_HOST_ARCH), $(findstring $(DEB_HOST_ARCH),$(no_cxa_archs)))
   with_cxa_atexit := disabled for architecture $(DEB_HOST_ARCH)

Attachment: pgpMFGv8vhjeu.pgp
Description: PGP signature

Reply to: