mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
* configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf*
host when configuring with --enable-shard.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Apr 8 12:09:36 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf*
|
||||||
|
host when configuring with --enable-shard.
|
||||||
|
|
||||||
Fri Apr 5 12:24:13 1996 Ian Lance Taylor <ian@cygnus.com>
|
Fri Apr 5 12:24:13 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* config.bfd: Add i[345]86-*-freebsdelf* target; from John Polstra
|
* config.bfd: Add i[345]86-*-freebsdelf* target; from John Polstra
|
||||||
|
@ -71,6 +71,8 @@ if [ "${shared}" = "true" ]; then
|
|||||||
*-dec-osf*)
|
*-dec-osf*)
|
||||||
# -fpic is not needed on the Alpha.
|
# -fpic is not needed on the Alpha.
|
||||||
PICFLAG=
|
PICFLAG=
|
||||||
|
HLDFLAGS='-rpath $(libdir)'
|
||||||
|
SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)'
|
||||||
;;
|
;;
|
||||||
*-*-hpux*)
|
*-*-hpux*)
|
||||||
# HP/UX uses .sl for shared libraries.
|
# HP/UX uses .sl for shared libraries.
|
||||||
@ -89,7 +91,10 @@ if [ "${shared}" = "true" ]; then
|
|||||||
;;
|
;;
|
||||||
*-*-linux*)
|
*-*-linux*)
|
||||||
SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)'
|
SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)'
|
||||||
HLDFLAGS='-Wl,-rpath,$(libdir)'
|
case "$(libdir)" in
|
||||||
|
/lib | /usr/lib) ;;
|
||||||
|
*) HLDFLAGS='-Wl,-rpath,$(libdir)' ;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
*-*-sysv4* | *-*-solaris*)
|
*-*-sysv4* | *-*-solaris*)
|
||||||
SHLIB_CFLAGS='-shared -h $(SONAME)'
|
SHLIB_CFLAGS='-shared -h $(SONAME)'
|
||||||
|
Reference in New Issue
Block a user