summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-06 00:33:49 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-06 00:33:49 +0000
commitff1abf70d2d485d5abc1a6faa71495c2f7289c27 (patch)
treed7f200d75a89fba6557c86146c5e6309f5532abd /libiberty
parent92424a17a65db72779094f5fee52ec1d1d5806b6 (diff)
downloadgcc-ff1abf70d2d485d5abc1a6faa71495c2f7289c27.tar.gz
* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
(.c.o): Check value of enable_shared, not PICFLAG. (stamp-picdir): Dito. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17681 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog6
-rw-r--r--libiberty/Makefile.in5
2 files changed, 8 insertions, 3 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index ed428abe2c5..64100fbc6ca 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,9 @@
+Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
+
+ * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
+ (.c.o): Check value of enable_shared, not PICFLAG.
+ (stamp-picdir): Dito.
+
Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
* config.table (vxworks configs): Default to VxWorks 5.x, as that is
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 7afac093279..71d02a3e5f7 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -111,7 +111,6 @@ FLAGS_TO_PASS = \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
"LDFLAGS=$(LDFLAGS)" \
"LOADLIBES=$(LOADLIBES)" \
- "PICFLAG=$(PICFLAG)" \
"RANLIB=$(RANLIB)" \
"SHELL=$(SHELL)"
@@ -132,7 +131,7 @@ INCDIR=$(srcdir)/$(MULTISRCTOP)../include
COMPILE.c = $(CC) -c $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES)
.c.o:
- test -z "$(PICFLAG)" || \
+ test x"$(enable_shared)" != xyes || \
$(COMPILE.c) $(PICFLAG) $< -o pic/$@
$(COMPILE.c) $<
@@ -268,7 +267,7 @@ $(RULE2): $(REQUIRED_OFILES) $(HOST_OFILES)
$(RANLIB) $(TARGETLIB)
stamp-picdir:
- if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
+ if [ x"$(enable_shared)" = xyes ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir