diff options
author | Manfred Hollstein <manfred@s-direktnet.de> | 1998-02-06 00:33:49 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-02-05 17:33:49 -0700 |
commit | f5c3ae66ff8af73705fff2a56edbf65fa561fad3 (patch) | |
tree | d7f200d75a89fba6557c86146c5e6309f5532abd /libiberty | |
parent | 4e77e8f1599742192e42c3b8d38ddc3c175caa0f (diff) | |
download | gcc-f5c3ae66ff8af73705fff2a56edbf65fa561fad3.zip gcc-f5c3ae66ff8af73705fff2a56edbf65fa561fad3.tar.gz gcc-f5c3ae66ff8af73705fff2a56edbf65fa561fad3.tar.bz2 |
Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
(.c.o): Check value of enable_shared, not PICFLAG.
(stamp-picdir): Dito.
From-SVN: r17681
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rw-r--r-- | libiberty/Makefile.in | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index ed428ab..64100fb 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 7afac09..71d02a3 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 |