Commit f79f3ada authored by Otto Kekäläinen's avatar Otto Kekäläinen Committed by Daniel Black

MDEV-33750: Fix DPKG_GENSYMBOLS_CHECK_LEVEL so it actually takes effect

The way DPKG_GENSYMBOLS_CHECK_LEVEL was exported did not actually
have any effect on the build. Fix the syntax so that build will
indeed fail if there there are new symbols in new upstream version.
parent b11892c9
......@@ -19,8 +19,10 @@ CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)
# Only do a strict symbol checking on Linux
# https://manpages.debian.org/testing/dpkg-dev/dpkg-gensymbols.1.en.html
# Level 4: Fails if some libraries have been introduced.
ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS)))
DPKG_GENSYMBOLS_CHECK_LEVEL := 4
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
endif
BUILDDIR := builddir
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment