mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
Makefile.in: Change "pic" to depend on $(PICFLAG), not
on $(enable_shared). From-SVN: r33918
This commit is contained in:
parent
758c7bd466
commit
47668d0a4a
@ -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*-*-*.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user