summaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2000-05-16 02:48:28 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2000-05-15 22:48:28 -0400
commit47668d0a4a3d46718fe80233a54690761073c037 (patch)
treeca4246cb5aa2f447566ff57f04ea14c0316007f7 /libiberty/Makefile.in
parent758c7bd466ea8751e8ae98a6da6b8110ec9cbd98 (diff)
downloadgcc-47668d0a4a3d46718fe80233a54690761073c037.tar.gz
Makefile.in: Change "pic" to depend on $(PICFLAG), not
on $(enable_shared). From-SVN: r33918
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r--libiberty/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 76cd730fd7b..96c6ff05620 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -108,8 +108,9 @@ INCDIR=$(srcdir)/$(MULTISRCTOP)../include
COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
.c.o:
- test x"$(enable_shared)" != xyes || \
- $(COMPILE.c) $(PICFLAG) $< -o pic/$@
+ if [ x"$(PICFLAG)" != x ]; then \
+ $(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
+ else true; fi
$(COMPILE.c) $<
info: info-subdir
@@ -185,7 +186,7 @@ required-list: Makefile
echo $(REQUIRED_OFILES) > required-list
stamp-picdir:
- if [ x"$(enable_shared)" = xyes ] && [ ! -d pic ]; then \
+ if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir