mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
Merge config/picflag.m4 from gcc
This commit is contained in:
parent
1061395368
commit
4a22a3348e
@ -44,6 +44,9 @@ case "${$2}" in
|
||||
# sets the default TLS model and affects inlining.
|
||||
$1=-fPIC
|
||||
;;
|
||||
loongarch*-*-*)
|
||||
$1=-fpic
|
||||
;;
|
||||
mips-sgi-irix6*)
|
||||
# PIC is the default.
|
||||
;;
|
||||
|
4
libiberty/configure
vendored
4
libiberty/configure
vendored
@ -5368,9 +5368,7 @@ case "${host}" in
|
||||
sh-*-linux* | sh[2346lbe]*-*-linux*)
|
||||
PICFLAG=-fpic
|
||||
;;
|
||||
# FIXME: Simplify to sh*-*-netbsd*?
|
||||
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
|
||||
sh64-*-netbsd* | sh64l*-*-netbsd*)
|
||||
sh*-*-netbsd*)
|
||||
PICFLAG=-fpic
|
||||
;;
|
||||
# Default to -fPIC unless specified otherwise.
|
||||
|
Loading…
Reference in New Issue
Block a user