summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShiyou Yin <yinshiyou-hf@loongson.cn>2020-03-23 12:35:16 +0800
committerMatt Turner <mattst88@gmail.com>2020-04-07 15:18:03 -0700
commit5330640025aec74ecdcdebdd1a27531c13437bd5 (patch)
tree721f494973a082bb8109003229c72f93489562c1
parent348e99b52f41caf32f8b7840e53f0b1322716c47 (diff)
downloadpixman-5330640025aec74ecdcdebdd1a27531c13437bd5.tar.gz
configure.ac: use '-mloongson-mmi' for Loongson MMI
It's recommended to use '-mloongson-mmi' for MMI. Reviewed-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--configure.ac2
-rw-r--r--meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1ca3974..fd7df47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -273,7 +273,7 @@ dnl ===========================================================================
dnl Check for Loongson Multimedia Instructions
if test "x$LS_CFLAGS" = "x" ; then
- LS_CFLAGS="-march=loongson2f"
+ LS_CFLAGS="-mloongson-mmi"
fi
have_loongson_mmi=no
diff --git a/meson.build b/meson.build
index 15d3409..a45c969 100644
--- a/meson.build
+++ b/meson.build
@@ -51,7 +51,7 @@ endforeach
use_loongson_mmi = get_option('loongson-mmi')
have_loongson_mmi = false
-loongson_mmi_flags = ['-march=loongson2f']
+loongson_mmi_flags = ['-mloongson-mmi']
if not use_loongson_mmi.disabled()
if host_machine.cpu_family() == 'mips64' and cc.compiles('''
#ifndef __mips_loongson_vector_rev