From 78e1c181264a2414c32b3c9098576eeb18e17deb Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 3 Jun 2006 16:00:13 +0000 Subject: [PATCH] avoid overwriting CFLAGS in python/aubio/Makefile.am avoid overwriting CFLAGS in python/aubio/Makefile.am --- python/aubio/Makefile.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/python/aubio/Makefile.am b/python/aubio/Makefile.am index 788bac15..689e9038 100644 --- a/python/aubio/Makefile.am +++ b/python/aubio/Makefile.am @@ -44,21 +44,21 @@ CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py all: _aubiowrapper.so -# removed -Wall -Wmissing-prototypes -Wmissing-declarations -CFLAGS = -fPIC -DJACK_SUPPORT -Werror -Wno-char-subscripts \ - -Wno-unknown-pragmas $(SWCFLAGS) \ +NOWARN_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations \ + -Wno-strict-aliasing + +AM_CFLAGS = $(SWCFLAGS) -fPIC -DPIC \ -I../../src -I$(srcdir)/../../src -I$(srcdir)/../../ext \ -I/usr/include/python${PYTHON_VERSION} \ -I${prefix}/include/python${PYTHON_VERSION} \ -I/usr/include \ -I${prefix}/include -LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio +AM_LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio aubio_wrap.c: $(SWIG) -outdir . -o aubio_wrap.c -python $(srcdir)/../../swig/aubio.i _aubiowrapper.so: aubio_wrap.c - $(CC) $(CFLAGS) -c aubio_wrap.c - $(CC) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so - + $(CC) $(AM_CFLAGS) $(CFLAGS) $(NOWARN_CFLAGS) -c aubio_wrap.c + $(CC) $(AM_LDFLAGS) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so -- 2.26.2