From: Jens Axboe Date: Wed, 6 Nov 2013 22:37:35 +0000 (-0700) Subject: solaris: ensure that -D_REENTRANT gets set X-Git-Tag: fio-2.1.4~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7cb024f89dbbc314e740885afccd9a05da056cf1;p=fio.git solaris: ensure that -D_REENTRANT gets set Apparently some Solaris' require this for threadsafe errno. Signed-off-by: Jens Axboe --- diff --git a/configure b/configure index b6bfe19a..ef7be018 100755 --- a/configure +++ b/configure @@ -183,6 +183,7 @@ elif check_define __OpenBSD__ ; then targetos='OpenBSD' elif check_define __sun__ ; then targetos='SunOS' + CFLAGS="$CFLAGS -D_REENTRANT" else targetos=`uname -s` fi