summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorchenglulu <chenglulu@loongson.cn>2021-11-27 15:09:11 +0800
committerChenghua Xu <paul.hua.gm@gmail.com>2022-03-29 17:43:32 +0800
commitc6c0594ef8382754f9cd8869a0cfb2aa2dcc0f43 (patch)
treee217d10ff32208722e57b0edd895fe19082b84a3 /config
parentoptions: Fix 'enabledby_negargs' typo in 'LangEnabledBy' option property diag... (diff)
downloadgcc-c6c0594ef8382754f9cd8869a0cfb2aa2dcc0f43.tar.gz
gcc-c6c0594ef8382754f9cd8869a0cfb2aa2dcc0f43.tar.bz2
gcc-c6c0594ef8382754f9cd8869a0cfb2aa2dcc0f43.tar.xz
LoongArch Port: Regenerate configure
2022-03-29 Chenghua Xu <xuchenghua@loongson.cn> Lulu Cheng <chenglulu@loongson.cn> ChangeLog: * configure.ac: Add LoongArch tuples. * configure: Regenerate. config/ChangeLog: * picflag.m4: Default add build option '-fpic' for LoongArch.
Diffstat (limited to 'config')
-rw-r--r--config/picflag.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/config/picflag.m4 b/config/picflag.m4
index 8b106f9af88..0aefcf619bf 100644
--- a/config/picflag.m4
+++ b/config/picflag.m4
@@ -44,6 +44,9 @@ case "${$2}" in
44 # sets the default TLS model and affects inlining. 44 # sets the default TLS model and affects inlining.
45 $1=-fPIC 45 $1=-fPIC
46 ;; 46 ;;
47 loongarch*-*-*)
48 $1=-fpic
49 ;;
47 mips-sgi-irix6*) 50 mips-sgi-irix6*)
48 # PIC is the default. 51 # PIC is the default.
49 ;; 52 ;;