mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-23 15:54:21 -09:00
package/berkeleydb: fix build with gcc-15.x
Inspired byc250c61cc3"GCC 15 defaults to C23. The last release of this package was over a decade ago, and it is no longer maintained, therefore it should not be expected to compile to the latest standards." Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commitc1d422edde) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
4776614f2f
commit
5e8adee60c
@@ -26,6 +26,7 @@ BERKELEYDB_BINARIES = db_archive db_checkpoint db_deadlock db_dump \
|
||||
define BERKELEYDB_CONFIGURE_CMDS
|
||||
(cd $(@D)/build_unix; rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
../dist/configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
|
||||
Reference in New Issue
Block a user