aboutsummaryrefslogtreecommitdiff
path: root/libio/config.shared
diff options
context:
space:
mode:
authorManfred Hollstein <manfred@s-direktnet.de>1998-02-06 00:34:27 +0000
committerJeff Law <law@gcc.gnu.org>1998-02-05 17:34:27 -0700
commit2d70ee201ef4973682d6337d45b3e800631faf67 (patch)
treee95e53fbf0885852d5c7c14f3f99132366658f4e /libio/config.shared
parentf5c3ae66ff8af73705fff2a56edbf65fa561fad3 (diff)
downloadgcc-2d70ee201ef4973682d6337d45b3e800631faf67.zip
gcc-2d70ee201ef4973682d6337d45b3e800631faf67.tar.gz
gcc-2d70ee201ef4973682d6337d45b3e800631faf67.tar.bz2
config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
* 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. From-SVN: r17682
Diffstat (limited to 'libio/config.shared')
-rw-r--r--libio/config.shared9
1 files changed, 4 insertions, 5 deletions
diff --git a/libio/config.shared b/libio/config.shared
index 6619372..9dcfb55 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'