main/imap: fix build with gcc 14

Use -fpermissive as it seems sort of dead upstream
This commit is contained in:
Natanael Copa 2024-08-15 15:58:21 +02:00
parent 6fc6e228b4
commit bf16fae17e

View file

@ -30,9 +30,9 @@ prepare() {
}
build() {
export GCCCFLAGS="$CFLAGS"
export GCCCFLAGS="$CFLAGS -fpermissive"
yes "y" | make -j1 slx SPECIALAUTHENTICATORS=ssl SSLTYPE=unix \
EXTRACFLAGS="$CFLAGS -fPIC" \
EXTRACFLAGS="$CFLAGS -fPIC -fpermissive" \
EXTRALDFLAGS="$LDFLAGS"
}