mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
community/freeimage: fix build with gcc14
Source/ZLib/gzread.c:35:15: error: \ implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 35 | ret = read(state->fd, buf + *have, get); | ^~~~ | fread
This commit is contained in:
parent
0186f1cfe8
commit
517a588a97
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ build() {
|
|||
aarch64) export CFLAGS="$CFLAGS -DPNG_ARM_NEON_OPT=0";;
|
||||
ppc64le) export CFLAGS="$CFLAGS -U__ALTIVEC__";;
|
||||
esac
|
||||
CFLAGS="$CFLAGS -std=gnu89" \
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue