2003-07-19 Adam Fedor <fedor@gnu.org>
* target.make: Set thread library in AUXILIARY_OBJC_LIBS. Set
reentrant flags for all targets if threaded. Remove duplicates.
Index: target.make
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/make/target.make,v
retrieving revision 1.146
diff -u -r1.146 target.make
--- target.make 16 Jul 2003 08:43:06 -0000 1.146
+++ target.make 20 Jul 2003 03:43:46 -0000
@@ -34,7 +34,12 @@
#
# Target specific libraries
#
-TARGET_SYSTEM_LIBS = $(CONFIG_SYSTEM_LIBS)
+TARGET_SYSTEM_LIBS = $(CONFIG_SYSTEM_LIBS) -lm
+ifneq ("$(objc_threaded)","")
+ INTERNAL_CFLAGS = -D_REENTRANT
+ INTERNAL_OBJCFLAGS = -D_REENTRANT
+ AUXILIARY_OBJC_LIBS += $(objc_threaded)
+endif