mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-03-02 08:27:04 +00:00
Makefile: swig build allow deprecated functions
The SWIG C build should allow deprecated functions and not warn on them because it is exposing the full interface including deprecated routines. Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
parent
c7020954ca
commit
4465a807c7
@ -105,7 +105,8 @@ FTS_LDLIBS ?=
|
||||
override CFLAGS += -I../include -D_GNU_SOURCE $(DISABLE_FLAGS) $(PCRE_CFLAGS)
|
||||
|
||||
SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter \
|
||||
-Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations
|
||||
-Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations \
|
||||
-Wno-deprecated-declarations
|
||||
|
||||
RANLIB ?= ranlib
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user