aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine/Recorder.cpp3
-rw-r--r--src/engine/Recorder.hpp1
-rw-r--r--src/engine/wscript3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/engine/Recorder.cpp b/src/engine/Recorder.cpp
index 96595c3..21dfd4b 100644
--- a/src/engine/Recorder.cpp
+++ b/src/engine/Recorder.cpp
@@ -30,8 +30,7 @@ Recorder::Recorder(Forge& forge,
TimeUnit unit,
double q,
bool step)
- : _forge(forge)
- , _unit(unit)
+ : _unit(unit)
, _record_buffer(buffer_size)
, _builder(new MachineBuilder(SPtr<Machine>(new Machine(unit)), q, step))
{}
diff --git a/src/engine/Recorder.hpp b/src/engine/Recorder.hpp
index 1084f17..c98c42b 100644
--- a/src/engine/Recorder.hpp
+++ b/src/engine/Recorder.hpp
@@ -58,7 +58,6 @@ public:
private:
virtual void _whipped();
- Forge& _forge;
TimeUnit _unit;
Raul::RingBuffer _record_buffer;
SPtr<MachineBuilder> _builder;
diff --git a/src/engine/wscript b/src/engine/wscript
index 380aff9..1ec63a2 100644
--- a/src/engine/wscript
+++ b/src/engine/wscript
@@ -35,7 +35,8 @@ def build(bld):
obj.name = 'libmachina_engine'
obj.target = 'machina_engine'
obj.cxxflags = '-pthread'
- obj.linkflags = '-pthread'
+ if bld.env.CXX_NAME != 'clang':
+ obj.linkflags = '-pthread'
core_libs = 'RAUL SERD SORD JACK LV2'
if bld.env.HAVE_EUGENE:
core_libs += ' EUGENE '