mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02: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
@ -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 New Issue
Block a user