Bugzilla – Attachment 420 Details for
Bug 2408
koji loongarch build error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
[patch]
resolve build error
0001-support-for-loongarch.patch (text/plain), 694 bytes, created by
lc
on 2022-10-17 14:29:37 UTC
(
hide
)
Description:
resolve build error
Filename:
MIME Type:
Creator:
lc
Created:
2022-10-17 14:29:37 UTC
Size:
694 bytes
patch
obsolete
>From baebdc078e22937762db56557f2c5c01f54ee829 Mon Sep 17 00:00:00 2001 >From: lichao <lichaod@uniontech.com> >Date: Wed, 12 Oct 2022 10:08:18 +0800 >Subject: [PATCH] support for loongarch > >--- > src/Makefile.inc | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/src/Makefile.inc b/src/Makefile.inc >index fe49196..c657bc0 100644 >--- a/src/Makefile.inc >+++ b/src/Makefile.inc >@@ -180,9 +180,11 @@ endif > > ifneq ($(ARCH), x86_64) > ifneq ($(ARCH), aarch64) >+ifneq ($(ARCH), loongarch64) > $(error unsupported architecture: $(ARCH)) > endif > endif >+endif > > LP64 := $(shell $(CC) $(CFLAGS) -dM -E -x c /dev/null | grep -Ec "__SIZEOF_LONG__.+8|__SIZEOF_POINTER__.+8" ) > ifneq ($(LP64), 2) >-- >2.31.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2408
:
416
|
417
|
418
|
419
| 420 |
421