Message ID | 20240512203452.836377-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/duma: set HOST_CFLAGS | expand |
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
>>>>> "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.
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
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(+)