]> gcc.gnu.org Git - gcc.git/commitdiff
Makefile.in: Change "pic" to depend on $(PICFLAG), not
authorDavid Edelsohn <edelsohn@gnu.org>
Tue, 16 May 2000 02:48:28 +0000 (02:48 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 16 May 2000 02:48:28 +0000 (22:48 -0400)
        on $(enable_shared).

From-SVN: r33918

libiberty/ChangeLog
libiberty/Makefile.in

index 3d09babaf23b22064b230ea67eece2584ba069d4..3aa5bbf677cc0b7c072ae8618bd4f169fc44dfbc 100644 (file)
@@ -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*-*-*.
index 76cd730fd7b4cbce39b1d80212232b3821abbb32..96c6ff0562071aecf6216af03525890fc6aec8dc 100644 (file)
@@ -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
This page took 0.078726 seconds and 5 git commands to generate.