aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-01-04 13:22:55 +1030
committerAlan Modra <amodra@gmail.com>2023-01-04 13:23:54 +1030
commit6f3674d7e5e570bbbddee88756e64d67469894ac (patch)
tree4d35a9df7bde6c82526f56e91a56675092ed6453 /libiberty
parentbd87d4ef8856410017cdc0f5b885c6dbdc73c73a (diff)
downloadgdb-6f3674d7e5e570bbbddee88756e64d67469894ac.zip
gdb-6f3674d7e5e570bbbddee88756e64d67469894ac.tar.gz
gdb-6f3674d7e5e570bbbddee88756e64d67469894ac.tar.bz2
Merge config/picflag.m4 from gcc
and regen libiberty/configure
Diffstat (limited to 'libiberty')
-rwxr-xr-xlibiberty/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/configure b/libiberty/configure
index 451af49..1ccfac9 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -5349,6 +5349,9 @@ case "${host}" in
# sets the default TLS model and affects inlining.
PICFLAG=-fPIC
;;
+ loongarch*-*-*)
+ PICFLAG=-fpic
+ ;;
mips-sgi-irix6*)
# PIC is the default.
;;