bootloader & kernel: Build zlib with -Wno-error=missing-prototypes.

Will be needed for some newer zlib versions.
This commit is contained in:
Augustin Cavalier 2022-07-07 22:45:19 -04:00
parent b5eee5ce22
commit 1fca581180
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,8 @@ local libFDTSources =
fdt_overlay.c
;
SubDirCcFlags -Wno-error=missing-prototypes ;
local platform ;
for platform in [ MultiBootSubDirSetup ] {
on $(platform) {

View File

@ -4,6 +4,8 @@ local zlibSourceDirectory = [ BuildFeatureAttribute zlib : sources : path ] ;
UseHeaders $(zlibSourceDirectory) ;
UseHeaders $(zlibSourceDirectory) : true ;
SubDirCcFlags -Wno-error=missing-prototypes ;
local zlibSources =
adler32.c
crc32.c