[bind10-dev] compiling with SunStudio12.1

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Wed Jun 23 18:06:36 UTC 2010


At Wed, 23 Jun 2010 12:55:44 -0500 (CDT),
"Jeremy C. Reed" <jreed at isc.org> wrote:

> > > case "$host" in
> > >         *-solaris*)
> > >                 CPPFLAGS="$CPPFLAGS -D_XPG4_2 -D__EXTENSIONS__"
> > >                 ;;
> > > esac
> 
> Why were these two definitions needed now? (Since I was already doing 
> solaris builds fine I thought.)

To make it work posix-compatible mode.  More specifically, so that we
can uniformly use unistd.h for getopt(3).

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind10-dev mailing list