diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-07-18 20:33:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-07-18 20:33:22 +0000 |
commit | e8c249cb2cf4547269923488016f351204717a1c (patch) | |
tree | 9d345bc1b5533a8cbd014ec0c44b75da043f4910 /bfd/configure.host | |
parent | 9e9cf21fec78c256f59a401378bdbc7d52b090a4 (diff) | |
download | gdb-e8c249cb2cf4547269923488016f351204717a1c.zip gdb-e8c249cb2cf4547269923488016f351204717a1c.tar.gz gdb-e8c249cb2cf4547269923488016f351204717a1c.tar.bz2 |
* config.bfd (mips*-*-irix6*): New target.
* configure.host: Handle Irix 6 shared library like Irix 5.
Diffstat (limited to 'bfd/configure.host')
-rw-r--r-- | bfd/configure.host | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/configure.host b/bfd/configure.host index ca1136c..b2b9e71 100644 --- a/bfd/configure.host +++ b/bfd/configure.host @@ -56,9 +56,9 @@ SHLIB_CC='$(CC)' SHLIB_CFLAGS='-shared' if [ "${shared}" = "true" ]; then case "${host}" in - hppa*-*-*) picfrag=../config/mh-papic ;; - i[3456]86-*-*) picfrag=../config/mh-x86pic ;; - *-*-*) picfrag=../config/mh-${host_cpu}pic ;; + hppa*-*-*) picfrag=${srcdir}/../config/mh-papic ;; + i[3456]86-*-*) picfrag=${srcdir}/../config/mh-x86pic ;; + *-*-*) picfrag=${srcdir}/../config/mh-${host_cpu}pic ;; esac if [ -f "${picfrag}" ]; then pic=`sed -n -e 's/^PICFLAG[ ]*=[ ]*\(.*\)$/\1/p' ${picfrag}` @@ -81,8 +81,8 @@ if [ "${shared}" = "true" ]; then HLDFLAGS='-Wl,+s,+b,$(libdir)' RPATH_ENVVAR=SHLIB_PATH ;; - *-*-irix5*) - # -fpic is not needed on Irix 5. + *-*-irix[56]*) + # -fpic is not needed on Irix 5 or 6. PICFLAG= SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)' HLDFLAGS='-Wl,-rpath,$(libdir)' |