mimic: fix build with gcc>=12

This commit is contained in:
Duncaen 2022-10-08 12:26:46 +02:00
parent afd349c38f
commit af503af1cc
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ changelog="https://github.com/MycroftAI/mimic1/releases"
distfiles="https://github.com/MycroftAI/mimic/archive/${version}.tar.gz" distfiles="https://github.com/MycroftAI/mimic/archive/${version}.tar.gz"
checksum=9041f5c7d3720899c90c890ada179c92c3b542b90bb655c247e4a4835df79249 checksum=9041f5c7d3720899c90c890ada179c92c3b542b90bb655c247e4a4835df79249
export CFLAGS="-Wno-error=free-nonheap-object"
pre_configure() { pre_configure() {
./autogen.sh ./autogen.sh
} }