From 180fb41fa7c786dbc58974171c861efcbba5d542 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 12 Sep 2008 13:57:34 +0000 Subject: * When --enable-debugging is used, add -Wno-xxx options to AM_CFLAGS so that bindings compile with -Werror (-Werror is activated by --enable-debugging now) --- bindings/python/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/python/Makefile.am') diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index 933b50b9..fdc7ada7 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -12,7 +12,7 @@ nodist_python_DATA = lasso.py python_LTLIBRARIES = _lasso.la nodist__lasso_la_SOURCES = _lasso.c -_lasso_la_CFLAGS = -fno-strict-aliasing $(LASSO_CORE_CFLAGS) $(PY_CFLAGS) +_lasso_la_CFLAGS = -fno-strict-aliasing $(LASSO_CORE_CFLAGS) $(PY_CFLAGS) $(AM_CFLAGS) _lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) if DARWIN _lasso_la_LDFLAGS = -no-undefined -module -avoid-version -Wl,-F. -Wl,-F. -bundle -framework Python -- cgit