ARM LZ4: prevent compilation of functions using malloc/free

They were discarded by the linker GC as they weren't used so far, but better be safe...
This commit is contained in:
Philippe Teuwen committed 2026-04-28 13:00:43 +02:00
1 parent 6efff9a6ae
commit e7de85a1a3
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ include Standalone/Makefile.inc
#the lz4 source files required for decompressing the fpga config at run time
SRC_LZ4 = lz4.c
#additional defines required to compile lz4
LZ4_CFLAGS = -DLZ4_MEMORY_USAGE=8
LZ4_CFLAGS = -DLZ4_MEMORY_USAGE=8 -DLZ4_HEAPMODE=0
APP_CFLAGS += $(LZ4_CFLAGS)
# lz4 includes:
APP_CFLAGS += -I../common/lz4