From 8f2315934d44214c4c446d077c8122c4dea6381f Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 9 Aug 2001 02:53:26 +0000 Subject: [PATCH] - add -D_REENTRANT (note rpmlib is still not thread safe). CVS patchset: 5009 CVS date: 2001/08/09 02:53:26 --- CHANGES | 1 + configure.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.7.4