diff options
author | Weijia Wang <contact@weijia.wang> | 2025-09-12 22:33:31 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2025-09-12 23:08:44 +0200 |
commit | b4d568b7aa2db5525f63b1bc9486dc5e2ed36bd0 (patch) | |
tree | 0205ca0a048d93862126673cc0902b54cdf16497 | |
parent | f895ea31d76fda7f7c135c028e86d2957663038c (diff) |
Part-of: <https://gitlab.freedesktop.org/xorg/util/imake/-/merge_requests/15>
-rw-r--r-- | imakemdep.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/imakemdep.h b/imakemdep.h index e32a0f7..d522ec3 100644 --- a/imakemdep.h +++ b/imakemdep.h @@ -435,6 +435,15 @@ const char *cpp_argv[ARGUMENTS] = { "-D__riscv_xlen=64", # endif # endif +# ifdef __loongarch__ + "-D__loongarch__", +# if (__loongarch_grlen == 32) + "-D__loongarch_grlen=32", +# endif +# if (__loongarch_grlen == 64) + "-D__loongarch_grlen=64 -D__loongarch_lp64", +# endif +# endif # ifdef __GNUC__ "-traditional", # endif |