On Sat, 15 Sep 2012, Mark Kettenis wrote: > Index: config.gcc > =================================================================== > --- config.gcc (revision 191120) > +++ config.gcc (working copy) > @@ -708,6 +708,11 @@ > *-*-openbsd2.*|*-*-openbsd3.[012]) > tm_defines="${tm_defines} HAS_LIBC_R=1" ;; > esac > + case ${target} in > + *-*-openbsd4.[3-9]|*-*-openbsd[5-9]*) > + default_use_cxa_atexit=yes > + ;; > + esac
By the way, as you add regular expressions like this, you may want to make them more future proof. This is something FreeBSD ran into when the release policy was changed and FreeBSD 10 happened a lot more quickly than originally expected. Gerald