diff options
author | rbuj <[email protected]> | 2020-04-10 10:58:20 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2020-04-10 14:46:39 +0200 |
commit | 6ac6734752703631eab6fc5e0f25fe51cdc1f9f1 (patch) | |
tree | cddeab766700a181324de29d79ba7a8f321962db | |
parent | c6da6ded0e2b22223d6eac60df2daf65a338ac76 (diff) | |
download | python-caja-6ac6734752703631eab6fc5e0f25fe51cdc1f9f1.tar.bz2 python-caja-6ac6734752703631eab6fc5e0f25fe51cdc1f9f1.tar.xz |
build: Use WARN_CFLAGS variable
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/Makefile.am | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 9575d9e..24be4f0 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,8 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_HEADERS(config.h) AC_CONFIG_MACRO_DIR([m4]) +MATE_COMPILE_WARNINGS + CAJA_REQUIRED=1.17.1 AC_PROG_CC 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) |