summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-10 10:58:20 +0200
committerZenWalker <[email protected]>2020-04-10 14:46:39 +0200
commit6ac6734752703631eab6fc5e0f25fe51cdc1f9f1 (patch)
treecddeab766700a181324de29d79ba7a8f321962db /src
parentc6da6ded0e2b22223d6eac60df2daf65a338ac76 (diff)
downloadpython-caja-6ac6734752703631eab6fc5e0f25fe51cdc1f9f1.tar.bz2
python-caja-6ac6734752703631eab6fc5e0f25fe51cdc1f9f1.tar.xz
build: Use WARN_CFLAGS variable
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0d4e5db..5421819 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,5 @@
+NULL =
+
caja_extensiondir=$(CAJA_EXTENSION_DIR)
caja_extension_LTLIBRARIES = libcaja-python.la
@@ -17,13 +19,13 @@ libcaja_python_la_CPPFLAGS = \
-DPYTHON_VERSION=\"$(PYTHON_VERSION)\" \
-DPYTHON_ABIFLAGS=\"$(PYTHON_ABIFLAGS)\" \
-DPY_LIB_LOC="\"$(PYTHON_LIB_LOC)\"" \
- $(CAJA_PYTHON_CFLAGS) \
- $(AM_CPPFLAGS)
+ $(NULL)
libcaja_python_la_CFLAGS = \
- $(PYTHON_CFLAGS)
+ $(PYTHON_CFLAGS) \
$(CAJA_PYTHON_CFLAGS) \
- $(AM_CFLAGS)
+ $(WARN_CFLAGS) \
+ $(NULL)
libcaja_python_la_LDFLAGS = -module -avoid-version -Wl,-z,defs
libcaja_python_la_LIBADD = $(PYTHON_LIBS) $(CAJA_PYTHON_LIBS)