diff options
author | Florian Franzmann | 2014-03-19 16:03:32 +0000 |
---|---|---|
committer | Florian Franzmann | 2014-03-19 16:03:32 +0000 |
commit | b0f644fad3a73794aaf650118c6db79a6085e451 (patch) | |
tree | 9eca18e3b53b1d75e06548535dfb874d92b573ce /audio-plugins | |
parent | 8daf4933104079bb73b606c7a655e5dda11b1890 (diff) |
audio-plugins/cmt: honour our CFLAGS/CXXFLAGS
Diffstat (limited to 'audio-plugins')
-rw-r--r-- | audio-plugins/cmt/0001-honour-external-FLAGS.patch | 27 | ||||
-rwxr-xr-x | audio-plugins/cmt/BUILD | 2 | ||||
-rw-r--r-- | audio-plugins/cmt/HISTORY | 4 | ||||
-rwxr-xr-x | audio-plugins/cmt/PRE_BUILD | 5 |
4 files changed, 37 insertions, 1 deletions
diff --git a/audio-plugins/cmt/0001-honour-external-FLAGS.patch b/audio-plugins/cmt/0001-honour-external-FLAGS.patch new file mode 100644 index 0000000000..9e2cd77c2c --- /dev/null +++ b/audio-plugins/cmt/0001-honour-external-FLAGS.patch @@ -0,0 +1,27 @@ +From 3f6879b463d1bdc352375d88a712965e01837cab Mon Sep 17 00:00:00 2001 +From: Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> +Date: Wed, 19 Mar 2014 15:59:31 +0000 +Subject: [PATCH] honour external FLAGS + +--- + src/makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/makefile b/src/makefile +index 8a0f795..6194e62 100644 +--- a/src/makefile ++++ b/src/makefile +@@ -11,8 +11,8 @@ INSTALL_PLUGINS_DIR = /usr/lib/ladspa/ + # GENERAL + # + +-CFLAGS = $(INCLUDES) -Wall -O3 -fPIC +-CXXFLAGS = $(CFLAGS) ++CFLAGS += $(INCLUDES) ++CXXFLAGS += $(CFLAGS) + PLUGIN_LIB = ../plugins/cmt.so + + ############################################################################### +-- +1.9.0 + diff --git a/audio-plugins/cmt/BUILD b/audio-plugins/cmt/BUILD index ad2d0e95b6..f6ab04afc5 100755 --- a/audio-plugins/cmt/BUILD +++ b/audio-plugins/cmt/BUILD @@ -1,2 +1,2 @@ cd src && -make +default_build_make diff --git a/audio-plugins/cmt/HISTORY b/audio-plugins/cmt/HISTORY index 0b331e3d07..76ffdb178c 100644 --- a/audio-plugins/cmt/HISTORY +++ b/audio-plugins/cmt/HISTORY @@ -1,3 +1,7 @@ +2014-03-19 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> + * BUILD: use default_build_make + * PRE_BUILD, 0001-honour-external-FLAGS.patch: honour our CFLAGS/CXXFLAGS + 2007-11-27 Juuso Alasuutari <iuso@sourcemage.org> * DETAILS: Updated to 1.16. * PRE_BUILD: Updated sedits. diff --git a/audio-plugins/cmt/PRE_BUILD b/audio-plugins/cmt/PRE_BUILD index 9c603eecc0..25064092c1 100755 --- a/audio-plugins/cmt/PRE_BUILD +++ b/audio-plugins/cmt/PRE_BUILD @@ -1,4 +1,9 @@ default_pre_build && +cd ${SOURCE_DIRECTORY} && + +# honour CFLAGS/CXXFLAGS set by us +patch -p1 < $SPELL_DIRECTORY/0001-honour-external-FLAGS.patch + cd "$SOURCE_DIRECTORY/src" && # Fix install path |