# HG changeset patch # User Chris Cannam # Date 1407325506 -3600 # Node ID 81146373f024be1c82371f04262cf2ae1680cb61 # Parent 32407651025d8334f4d1f93dedbcd492b24bd93a Build tweaks diff -r 32407651025d -r 81146373f024 Makefile --- a/Makefile Wed Jun 25 14:00:06 2014 +0100 +++ b/Makefile Wed Aug 06 12:45:06 2014 +0100 @@ -10,7 +10,7 @@ # Compile flags # CFLAGS := $(CFLAGS) -DXTRACT_FFT=1 -DUSE_OOURA=1 -DNDEBUG -O3 -ffast-math -Wall -fPIC -I. -I$(LIBXTRACTDIR) -CXXFLAGS := $(CFLAGS) +CXXFLAGS := $(CXXFLAGS) $(CFLAGS) # Libraries required for the plugins. # @@ -18,7 +18,7 @@ # Flags required to tell the compiler to make a dynamically loadable object # -PLUGIN_LDFLAGS = -shared -Wl,-Bsymbolic -Wl,--version-script=vamp-plugin.map +PLUGIN_LDFLAGS = $(LDFLAGS) -shared -Wl,-Bsymbolic -Wl,--version-script=vamp-plugin.map # File extension for a dynamically loadable object #