Buildroot Archive mirror
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/duma: set HOST_CFLAGS
Date: Sun, 12 May 2024 22:34:52 +0200	[thread overview]
Message-ID: <20240512203452.836377-1-fontaine.fabrice@gmail.com> (raw)

Set HOST_CFLAGS to avoid the following build failure raised since bump
to version 2.5.21 in commit af2cd694e3903131d6e2f00646adfa83a89a23e2:

/usr/bin/gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g0   -c createconf.c -o createconf.o
gcc: error: unrecognized command-line option '-mlongcalls'
gcc: error: unrecognized command-line option '-mauto-litpools'

Fixes: af2cd694e3903131d6e2f00646adfa83a89a23e2
 - http://autobuild.buildroot.org/results/28be2acc6d58754c7431df81d0b63b30e6af8554

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/duma/duma.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/duma/duma.mk b/package/duma/duma.mk
index 6bbdf41f4a..80fe8a5d64 100644
--- a/package/duma/duma.mk
+++ b/package/duma/duma.mk
@@ -20,6 +20,7 @@ define DUMA_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
 		OS=linux \
 		DUMA_OPTIONS="$(DUMA_OPTIONS)" \
+		HOST_CFLAGS="$(HOST_CFLAGS)" \
 		CPPFLAGS="$(TARGET_CXXFLAGS) -std=c++11" -C $(@D)
 endef
 
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2024-05-12 20:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-12 20:34 Fabrice Fontaine [this message]
2024-05-13 19:48 ` [Buildroot] [PATCH 1/1] package/duma: set HOST_CFLAGS Thomas Petazzoni via buildroot

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=20240512203452.836377-1-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).