summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-25 01:40:34 +0000
committerRoland McGrath <roland@gnu.org>2001-08-25 01:40:34 +0000
commit98a00899ba97e74c63f81d9ad70ea7b0404366f6 (patch)
tree081a4b6a87fdc33432d71ace2ea9ad835bba6cdc
parentd869fe55a7997a110209452c054f4bbf71f710e9 (diff)
2001-08-24 Roland McGrath <roland@frob.com>
* Makeconf ($(libname).so.$(hurd-version)): Replace $($@-LDFLAGS) with $($(libname).so-LDFLAGS).
-rw-r--r--Makeconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makeconf b/Makeconf
index bfc0f40b..e4de2769 100644
--- a/Makeconf
+++ b/Makeconf
@@ -58,7 +58,7 @@ endif
# Generic compiler options, appended to whatever the particular makefile set.
# The config.make file will append the values chosed by configure.
CPPFLAGS += -I. $(srcdirinc) -I.. $(top_srcdirinc) -I$(top_srcdir)/include \
- -D_GNU_SOURCE $($*-CPPFLAGS)
+ -D_GNU_SOURCE -D_IO_MTSAFE_IO $($*-CPPFLAGS)
CFLAGS += -Wall -g -O3
# Include the configure-generated file of parameters.
@@ -339,7 +339,7 @@ $(libname)_pic.a: $(patsubst %.o,%_pic.o,$(OBJS))
# we make that a symlink.
$(libname).so.$(hurd-version): $(patsubst %.o,%_pic.o,$(OBJS)) $(library_deps)
$(CC) -shared -Wl,-soname=$@ -o $@ \
- $(rpath) $(CFLAGS) $(LDFLAGS) $($@-LDFLAGS) $^
+ $(rpath) $(CFLAGS) $(LDFLAGS) $($(libname).so-LDFLAGS) $^
$(libname).so: $(libname).so.$(hurd-version)
ln -f -s $< $@
endif