summaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-16 02:48:28 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-16 02:48:28 +0000
commit9e362499195402d778affd4d7300bce9a277405a (patch)
treeca4246cb5aa2f447566ff57f04ea14c0316007f7 /libiberty/Makefile.in
parent677b224dd077afff5661475cb8b6a7f9d295e042 (diff)
downloadgcc-9e362499195402d778affd4d7300bce9a277405a.tar.gz
Makefile.in: Change "pic" to depend on $(PICFLAG), not
on $(enable_shared). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33918 138bc75d-0d04-0410-961f-82ee72b054a4
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