summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2007-09-03 14:40:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2007-09-03 14:40:17 +0000
commitea72182faa98806557ba6170604b3ce6ca5c9eda (patch)
tree52f017367cab0025480befd06a8474a198fe0871 /gnu/usr.bin/gcc/Makefile.bsd-wrapper
parentd5cabb42a1a17d02ebac157f110b3835dbc64959 (diff)
Add __cxa_atexit() support for gcc3. This provides support for shared object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD.
Diffstat (limited to 'gnu/usr.bin/gcc/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
index c7b16e5261c..5383fc3d1e1 100644
--- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.55 2006/11/22 19:18:48 drahn Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.56 2007/09/03 14:40:16 millert Exp $
MAN= gcc.1 cpp.1 gcov.1 protoize.1
MLINKS+= protoize.1 unprotoize.1
@@ -106,6 +106,7 @@ config.status: gcc/Makefile.in gcc/configure gcc/c-parse.in
--with-local-prefix=/usr ${CF} \
${LANGUAGES} --enable-cpp --disable-nls \
--with-gxx-include-dir=${GXX_INCDIR} \
+ --enable-__cxa_atexit \
${CONFIGTARGET} ${GCCARCH} && touch config.status
.ifdef NOMAN