* [lm-sensors] [PATCH] Thread-safe libsensors
@ 2007-03-06 17:47 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2007-03-06 17:47 UTC (permalink / raw)
To: lm-sensors
Hi all,
I noticed that the Suse sensors package is compiled with the following
change (amongst many others):
Index: Makefile
=================================--- Makefile (revision 4317)
+++ Makefile (working copy)
@@ -279,7 +279,7 @@
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
I seem to understand that it is required for libsensors to be
thread-safe, which would be a nice feature if any multithreaded
application ever wants to link with it. So I think I'll apply this
patch to our repository before releasing lm_sensors 2.10.3. Comment
anyone?
--
Jean Delvare
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-06 17:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 17:47 [lm-sensors] [PATCH] Thread-safe libsensors Jean Delvare
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.