dgaudet 98/03/10 01:52:19
Modified: src Configure
Log:
It is bogus to use LDFLAGS on the shared ld command line for at least
two reasons:
- LDFLAGS has traditionally meant "flags to use when linking an
executable", and such flags can be different than those for making
a shared library
- LDFLAGS has traditionally been flags supplied to the cc executable for
linking, not flags supplied to the ld executable... cc translates
various flags before passing them to ld. For example,
"gcc -Wl,M" passes -M to ld.
Revision Changes Path
1.200 +1 -1 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -r1.199 -r1.200
--- Configure 1998/03/09 19:02:29 1.199
+++ Configure 1998/03/10 09:52:18 1.200
@@ -1247,7 +1247,7 @@
.c.so:
$(CC) -c $(INCLUDES) $(CFLAGS) $(CFLAGS_SHLIB) $(SPACER) -o $*-so.o $<
- $(LD) $(LDFLAGS) $(LDFLAGS_SHLIB) -o $@ $*-so.o
+ $(LD) $(LDFLAGS_SHLIB) -o $@ $*-so.o
clean:
rm -f $(OBJS) $(SHLIBS) $(SHLIBS_OBJ) $(LIB) $(SHLIB)