mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 07:23:30 +08:00
package/duma: set HOST_CFLAGS
Set HOST_CFLAGS to avoid the following build failure raised since bump to version 2.5.21 in commitaf2cd694e3
: /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:af2cd694e3
- http://autobuild.buildroot.org/results/28be2acc6d58754c7431df81d0b63b30e6af8554 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
5f11ce4aea
commit
b8c70f6701
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user