Need pthreads

This commit is contained in:
Chris Cannam
2012-09-09 17:01:40 +01:00
parent 93c38b50a0
commit 898a41de9a
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
CXX := @CXX@ CXX := @CXX@
CXXFLAGS := -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DNO_TIMING -DNDEBUG @CXXFLAGS@ @SRC_CFLAGS@ @SNDFILE_CFLAGS@ @FFTW_CFLAGS@ @Vamp_CFLAGS@ -Irubberband -I. -Isrc $(OPTFLAGS) CXXFLAGS := -DHAVE_LIBSAMPLERATE -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DUSE_PTHREADS -DNO_TIMING -DNDEBUG @CXXFLAGS@ @SRC_CFLAGS@ @SNDFILE_CFLAGS@ @FFTW_CFLAGS@ @Vamp_CFLAGS@ -Irubberband -I. -Isrc $(OPTFLAGS)
CFLAGS := @CFLAGS@ $(OPTFLAGS) CFLAGS := @CFLAGS@ $(OPTFLAGS)
LDFLAGS := @LDFLAGS@ -lpthread $(LDFLAGS) LDFLAGS := @LDFLAGS@ -lpthread $(LDFLAGS)

View File

@@ -208,6 +208,9 @@ the supplied build files will handle these for you.)
-DNO_THREADING -DNO_THREADING
Build without any multithread support. Build without any multithread support.
-DUSE_PTHREADS
Use the pthreads library (required unless NO_THREADING or on Windows)
-DPROCESS_SAMPLE_TYPE=float -DPROCESS_SAMPLE_TYPE=float
Select single precision for internal calculations. The default is Select single precision for internal calculations. The default is
double precision. Consider using for mobile architectures with double precision. Consider using for mobile architectures with