diff options
author | David Edelsohn <edelsohn@gnu.org> | 2000-05-16 02:48:28 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2000-05-15 22:48:28 -0400 |
commit | 47668d0a4a3d46718fe80233a54690761073c037 (patch) | |
tree | ca4246cb5aa2f447566ff57f04ea14c0316007f7 | |
parent | 758c7bd466ea8751e8ae98a6da6b8110ec9cbd98 (diff) | |
download | gcc-47668d0a4a3d46718fe80233a54690761073c037.zip gcc-47668d0a4a3d46718fe80233a54690761073c037.tar.gz gcc-47668d0a4a3d46718fe80233a54690761073c037.tar.bz2 |
Makefile.in: Change "pic" to depend on $(PICFLAG), not
on $(enable_shared).
From-SVN: r33918
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/Makefile.in | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 3d09bab..3aa5bbf 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2000-05-15 David Edelsohn <edelsohn@gnu.org> + + Makefile.in: Change "pic" to depend on $(PICFLAG), not + on $(enable_shared). + 2000-05-10 Jakub Jelinek <jakub@redhat.com> * config.table: Use mh-sparcpic for sparc*-*-*. diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 76cd730..96c6ff0 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 |