Changeset 78e1c18 for python/aubio


Ignore:
Timestamp:
Jun 3, 2006, 6:00:13 PM (18 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
6ff2870
Parents:
c9b33bb
Message:

avoid overwriting CFLAGS in python/aubio/Makefile.am
avoid overwriting CFLAGS in python/aubio/Makefile.am

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/Makefile.am

    rc9b33bb r78e1c18  
    4545all: _aubiowrapper.so
    4646
    47 # removed -Wall -Wmissing-prototypes -Wmissing-declarations
    48 CFLAGS = -fPIC -DJACK_SUPPORT -Werror -Wno-char-subscripts \
    49         -Wno-unknown-pragmas $(SWCFLAGS) \
     47NOWARN_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations \
     48        -Wno-strict-aliasing
     49
     50AM_CFLAGS = $(SWCFLAGS) -fPIC -DPIC \
    5051        -I../../src -I$(srcdir)/../../src -I$(srcdir)/../../ext \
    5152        -I/usr/include/python${PYTHON_VERSION} \
     
    5455        -I${prefix}/include
    5556
    56 LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio
     57AM_LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio
    5758
    5859aubio_wrap.c:
     
    6061
    6162_aubiowrapper.so: aubio_wrap.c
    62         $(CC) $(CFLAGS) -c aubio_wrap.c
    63         $(CC) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so
    64 
     63        $(CC) $(AM_CFLAGS) $(CFLAGS) $(NOWARN_CFLAGS) -c aubio_wrap.c
     64        $(CC) $(AM_LDFLAGS) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so
Note: See TracChangeset for help on using the changeset viewer.