changeset 38:81146373f024

Build tweaks
author Chris Cannam
date Wed, 06 Aug 2014 12:45:06 +0100
parents 32407651025d
children ba90047bb8da
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
 #