From: jbj Date: Thu, 9 Aug 2001 02:53:26 +0000 (+0000) Subject: - add -D_REENTRANT (note rpmlib is still not thread safe). X-Git-Tag: rpm-4.4-release~1467 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f2315934d44214c4c446d077c8122c4dea6381f;p=platform%2Fupstream%2Frpm.git - add -D_REENTRANT (note rpmlib is still not thread safe). CVS patchset: 5009 CVS date: 2001/08/09 02:53:26 --- diff --git a/CHANGES b/CHANGES index 23e0f72..5ee7d37 100644 --- a/CHANGES +++ b/CHANGES @@ -209,6 +209,7 @@ - remove /var/lib/rpm/__db* cache files if %__dbi_cdb is not configured. - python: add hiesenbug patch. - add legacy (compile only) wrappers for fdFileno et al. + - add -D_REENTRANT (note rpmlib is still not thread safe). 4.0 -> 4.0.[12] - add doxygen and lclint annotations most everywhere. diff --git a/configure.in b/configure.in index 326e57d..6c6a881 100644 --- a/configure.in +++ b/configure.in @@ -27,7 +27,7 @@ AC_PROG_CXX AS=${AS-as} AC_SUBST(AS) if test "$ac_cv_prog_gcc" = yes; then - CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" + CFLAGS="$CFLAGS -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" fi export CFLAGS