Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/duma: set HOST_CFLAGS
@ 2024-05-12 20:34 Fabrice Fontaine
  2024-05-13 19:48 ` Thomas Petazzoni via buildroot
  2024-06-08 11:29 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2024-05-12 20:34 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/duma: set HOST_CFLAGS
  2024-05-12 20:34 [Buildroot] [PATCH 1/1] package/duma: set HOST_CFLAGS Fabrice Fontaine
@ 2024-05-13 19:48 ` Thomas Petazzoni via buildroot
  2024-06-08 11:29 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-13 19:48 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

On Sun, 12 May 2024 22:34:52 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> 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(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/duma: set HOST_CFLAGS
  2024-05-12 20:34 [Buildroot] [PATCH 1/1] package/duma: set HOST_CFLAGS Fabrice Fontaine
  2024-05-13 19:48 ` Thomas Petazzoni via buildroot
@ 2024-06-08 11:29 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-06-08 11:29 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > 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>

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-08 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-12 20:34 [Buildroot] [PATCH 1/1] package/duma: set HOST_CFLAGS Fabrice Fontaine
2024-05-13 19:48 ` Thomas Petazzoni via buildroot
2024-06-08 11:29 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox