summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in12
-rw-r--r--lv2/Makefile.am2
2 files changed, 7 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 6a68625..1b2123c 100644
--- a/configure.in
+++ b/configure.in
@@ -53,8 +53,8 @@ if test "x$enable_lv2" = "xyes"; then
if grep -q "sse3" /proc/cpuinfo
then
AC_MSG_RESULT([yes])
- CXXFLAGS="$CXXFLAGS -msse3"
- AC_SUBST(CXXFLAGS)
+ LV2FLAGS="-msse3"
+ AC_SUBST(LV2FLAGS)
else
AC_MSG_RESULT([no])
fi
@@ -62,8 +62,8 @@ if test "x$enable_lv2" = "xyes"; then
if grep -q "sse2" /proc/cpuinfo
then
AC_MSG_RESULT([yes])
- CXXFLAGS="$CXXFLAGS -msse2"
- AC_SUBST(CXXFLAGS)
+ LV2FLAGS="$LV2FLAGS -msse2"
+ AC_SUBST(LV2FLAGS)
else
AC_MSG_RESULT([no])
fi
@@ -71,8 +71,8 @@ if test "x$enable_lv2" = "xyes"; then
if grep -q "sse" /proc/cpuinfo
then
AC_MSG_RESULT([yes])
- CXXFLAGS="$CXXFLAGS -DSSE -msse"
- AC_SUBST(CXXFLAGS)
+ LV2FLAGS="$LV2FLAGS -DSSE -msse"
+ AC_SUBST(LV2FLAGS)
else
AC_MSG_RESULT([no])
fi
diff --git a/lv2/Makefile.am b/lv2/Makefile.am
index 55db9b9..d875baa 100644
--- a/lv2/Makefile.am
+++ b/lv2/Makefile.am
@@ -6,7 +6,7 @@ include $(top_srcdir)/src/Makefile.am.drumgizmo
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/plugingui \
-I$(top_srcdir)/include $(SNDFILE_CXXFLAGS) \
$(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) $(LV2_CFLAGS) \
- $(PLUGIN_GUI_CFLAGS) -DX11 \
+ $(PLUGIN_GUI_CFLAGS) -DX11 $(LV2FLAGS)\
-DUSE_THREAD
plugindir = $(prefix)/lib/lv2/drumgizmo.lv2