Fix 32-bit test modules build. (#8448)

This commit is contained in:
Yossi Gottlieb 2021-02-04 11:37:28 +02:00 committed by GitHub
parent 9b564e6bc0
commit d6c0c9de4a

View File

@ -10,6 +10,12 @@ else # Linux, others
SHOBJ_LDFLAGS ?= -shared
endif
# Needed to satisfy __stack_chk_fail_local on Linux with -m32, due to gcc
# -fstack-protector by default. Breaks on FreeBSD so we exclude it.
ifneq ($(uname_S),FreeBSD)
LIBS = -lc
endif
TEST_MODULES = \
commandfilter.so \
testrdb.so \