From 6f3674d7e5e570bbbddee88756e64d67469894ac Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 4 Jan 2023 13:22:55 +1030 Subject: Merge config/picflag.m4 from gcc and regen libiberty/configure --- libiberty/configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libiberty') diff --git a/libiberty/configure b/libiberty/configure index 451af4978e7..1ccfac9fb11 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. ;; -- cgit v1.2.1