From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH] package/gmp: guard riscv definition
Date: Thu, 24 Aug 2023 07:02:26 +0200 [thread overview]
Message-ID: <ZObkYg7QwKJVHGVw@waldemar-brodkorb.de> (raw)
In commit 30997eaa65438a2ce726ad8a204ac5a36363f5c8 a mistake
was made. Guard the definition correctly.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
package/gmp/gmp.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 3b732dfa71..1ef4dd43a2 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -24,9 +24,11 @@ GMP_CONF_OPTS += --disable-assembly
endif
# GMP needs M extension for riscv assembly
+ifeq ($(BR2_riscv),y)
ifeq ($(BR2_RISCV_ISA_CUSTOM_RVM),)
GMP_CONF_OPTS += --disable-assembly
endif
+endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
GMP_CONF_OPTS += --enable-cxx
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2023-08-24 5:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 5:02 Waldemar Brodkorb [this message]
2023-08-24 18:54 ` [Buildroot] [PATCH] package/gmp: guard riscv definition Thomas Petazzoni via buildroot
2023-09-13 15:53 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZObkYg7QwKJVHGVw@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox