aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty')
-rwxr-xr-xlibiberty/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/configure b/libiberty/configure
index 1d42a5e3..65fc500 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -5209,6 +5209,9 @@ case "${host}" in
# sets the default TLS model and affects inlining.
PICFLAG=-fPIC
;;
+ loongarch*-*-*)
+ PICFLAG=-fpic
+ ;;
mips-sgi-irix6*)
# PIC is the default.
;;