diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-06 00:34:27 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-06 00:34:27 +0000 |
commit | c414a93fd4893edd93f7e93bd36716c48d177f28 (patch) | |
tree | e95e53fbf0885852d5c7c14f3f99132366658f4e /libio/config.shared | |
parent | ff1abf70d2d485d5abc1a6faa71495c2f7289c27 (diff) | |
download | gcc-c414a93fd4893edd93f7e93bd36716c48d177f28.tar.gz |
* config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
(.c.o): Check value of enable_shared, not PICFLAG.
(.C.o): Dito.
(.cc.o): Dito.
(stamp-picdir): Dito.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio/config.shared')
-rw-r--r-- | libio/config.shared | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libio/config.shared b/libio/config.shared index 66193726dd0..9dcfb551d9d 100644 --- a/libio/config.shared +++ b/libio/config.shared @@ -234,7 +234,6 @@ if [ "${SUBDIRS}" != "" ] ; then echo >&2 ' "MAKEINFO=$(MAKEINFO)" \' echo >&2 ' "SHLIB=$(SHLIB)" \' echo >&2 ' "SHCURSES=$(SHCURSES)" \' - echo >&2 ' "PICFLAG=$(PICFLAG)" \' echo >&2 ' "RUNTESTFLAGS=$(RUNTESTFLAGS)"' fi @@ -262,7 +261,7 @@ echo >&2 '.SUFFIXES: .o .C .cc .c' echo >&2 'COMPILE.c = $(CC) -c $(XCFLAGS) $(CINCLUDES) $(MT_CFLAGS)' echo >&2 '.c.o:' if [ "${LIBDIR}" = "yes" ]; then -echo >&2 ' test -z "$(PICFLAG)" ||\' +echo >&2 ' test x"$(enable_shared)" != xyes ||\' echo >&2 ' $(COMPILE.c) $(PICFLAG) $< -o pic/$@' fi echo >&2 ' $(COMPILE.c) $<' @@ -270,14 +269,14 @@ echo >&2 ' $(COMPILE.c) $<' echo >&2 'COMPILE.cc = $(CXX) -c $(XCXXFLAGS) $(CXXINCLUDES) $(MT_CFLAGS)' echo >&2 '.C.o:' if [ "${LIBDIR}" = "yes" ]; then -echo >&2 ' test -z "$(PICFLAG)" ||\' +echo >&2 ' test x"$(enable_shared)" != xyes ||\' echo >&2 ' $(COMPILE.cc) $(PICFLAG) $< -o pic/$@' fi echo >&2 ' $(COMPILE.cc) $<' [ "${TOUCH_ON_COMPILE}" = "yes" ] && echo >&2 ' @touch stamp' echo >&2 '.cc.o:' if [ "${LIBDIR}" = "yes" ]; then -echo >&2 ' test -z "$(PICFLAG)" || \' +echo >&2 ' test x"$(enable_shared)" != xyes || \' echo >&2 ' $(COMPILE.cc) $(PICFLAG) $< -o pic/$@' fi echo >&2 ' $(COMPILE.cc) $<' @@ -294,7 +293,7 @@ fi if [ "${LIBDIR}" = "yes" ]; then echo >&2 '' echo >&2 'stamp-picdir:' - echo >&2 ' if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \' + echo >&2 ' if [ x"$(enable_shared)" = xyes ] && [ ! -d pic ]; then \' echo >&2 ' mkdir pic; \' echo >&2 ' else true; fi' echo >&2 ' touch stamp-picdir' |