From bd03b540463885fb76906e5d454f8fe275ed942a Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 10 Mar 2007 18:38:16 +0000 Subject: [PATCH] Compile libsensors with -D_REENTRANT. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4339 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index f8a2c331..116977b6 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ SVN HEAD Add support for the SMSC LPC47M292 fans (prefix smsc47m2) Recognize i2c-isa-based devices as such even after class_dev is gone + Compile with -D_REENTRANT Man page i2cdetect.8: Scanning range can be restricted Module bmcsensors: Fix debugging messages Module i2c-ali1563: Improve the status messages (2.6 backport) diff --git a/Makefile b/Makefile index 66ee504d..65665e9d 100644 --- a/Makefile +++ b/Makefile @@ -279,7 +279,7 @@ LIBCPPFLAGS := $(ALL_CPPFLAGS) ifdef SYSFS_SUPPORT LIBCPPFLAGS := $(LIBCPPFLAGS) -DSYSFS_SUPPORT endif -LIBCFLAGS := -fpic $(ALL_CFLAGS) +LIBCFLAGS := -fpic -D_REENTRANT $(ALL_CFLAGS) .PHONY: all user clean install user_install uninstall user_uninstall version package