projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add --enable-asan configure option
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
Makefile.am
diff --git
a/src/bindings/python/bt2/Makefile.am
b/src/bindings/python/bt2/Makefile.am
index ccd56bbbaec30e1f0a34bbf965d4c472627f869f..c8e3eb44ae99e391fba19fccd46b1d7048a00a9a 100644
(file)
--- a/
src/bindings/python/bt2/Makefile.am
+++ b/
src/bindings/python/bt2/Makefile.am
@@
-1,7
+1,9
@@
+# SPDX-License-Identifier: MIT
+
# Since the shared object used by the python bindings is not built with
# libtool, we need to add the directory containing libbabeltrace2 to the
# linker path.
# Since the shared object used by the python bindings is not built with
# libtool, we need to add the directory containing libbabeltrace2 to the
# linker path.
-AM_LDFLAGS
=
-L$(top_builddir)/src/lib/.libs
+AM_LDFLAGS
+=
-L$(top_builddir)/src/lib/.libs
INSTALLED_FILES=$(builddir)/installed_files.txt
INSTALLED_FILES=$(builddir)/installed_files.txt
@@
-110,10
+112,17
@@
GENERATED_BINDINGS_DEPS = \
# Disable -Wshadow for that file.
WARN_CFLAGS = -Wno-shadow
# Disable -Wshadow for that file.
WARN_CFLAGS = -Wno-shadow
+WARN_CFLAGS += -Wno-null-dereference
+
+# Python 3.8 with SWIG 4.0.2 generates a deprecated warning for 'tp_print'
+# and in general there is not much we can do about deprecations in generated
+# code.
+WARN_CFLAGS += -Wno-deprecated-declarations
+
BUILD_FLAGS=CC="$(CC)" \
CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(WARN_CFLAGS)" \
CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS) -I$(srcdir)/bt2" \
BUILD_FLAGS=CC="$(CC)" \
CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(WARN_CFLAGS)" \
CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS) -I$(srcdir)/bt2" \
- LDFLAGS="$(AM_LDFLAGS) $(LDFLAGS) $(GLIB_LIBS) $(LIBS)"
+ LDFLAGS="$(AM_LDFLAGS) $(LDFLAGS) $(GLIB_LIBS) $(
PYTHON_LDFLAGS) $(
LIBS)"
all-local: build-python-bindings.stamp
all-local: build-python-bindings.stamp
This page took
0.02723 seconds
and
4
git commands to generate.