mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/berkeleydb: fix build with host gcc-15.x
Commit [1] fixed berkeleydb target build with gcc-15.x.
The host variant package also fails when building with host gcc-15.x.
This commit fixes the issue by replicating the same fix for the package
host variant.
Fixes:
https://autobuild.buildroot.org/results/a8051600ab95a63c852960f8dace757b16c665f0/
[1] c1d422edde
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
@@ -51,6 +51,7 @@ endef
|
||||
define HOST_BERKELEYDB_CONFIGURE_CMDS
|
||||
(cd $(@D)/build_unix; rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS) -std=gnu99" \
|
||||
../dist/configure $(QUIET) \
|
||||
--prefix=$(HOST_DIR) \
|
||||
--with-gnu-ld \
|
||||
|
||||
Reference in New Issue
Block a user