summaryrefslogtreecommitdiffstats
path: root/audio-plugins
diff options
context:
space:
mode:
authorThomas Orgis2016-09-29 17:30:16 +0200
committerThomas Orgis2016-09-29 19:14:01 +0200
commit15dae408a62de4b3a1e858665d6b7e1f8f630777 (patch)
treec5889994f49b1a4468a781d3938f611b7501c59c /audio-plugins
parente6386173dd1fa0a6f518b102a92ce2a1efaec8ca (diff)
swh-plugins: un-break build where PIC flags are not ensured for x86-64
Diffstat (limited to 'audio-plugins')
-rwxr-xr-xaudio-plugins/swh-plugins/BUILD7
-rw-r--r--audio-plugins/swh-plugins/HISTORY3
2 files changed, 10 insertions, 0 deletions
diff --git a/audio-plugins/swh-plugins/BUILD b/audio-plugins/swh-plugins/BUILD
new file mode 100755
index 0000000000..b1e67ec067
--- /dev/null
+++ b/audio-plugins/swh-plugins/BUILD
@@ -0,0 +1,7 @@
+# If we got -march=… in CFLAGS, the configure script assumes we
+# got everything arch-specific set up, including PICyness. Without
+# prescribed architecture, it would detect one and add PIC flags.
+if [[ ${SMGL_COMPAT_ARCHS[1]} == "x86_64" ]]; then
+ CFLAGS="$CFLAGS -DPIC -fPIC"
+fi &&
+default_build
diff --git a/audio-plugins/swh-plugins/HISTORY b/audio-plugins/swh-plugins/HISTORY
index 928dea1614..c32a6ece24 100644
--- a/audio-plugins/swh-plugins/HISTORY
+++ b/audio-plugins/swh-plugins/HISTORY
@@ -1,3 +1,6 @@
+2016-09-29 Thomas Orgis <sobukus@sourcemage.org>
+ * BUILD: added to fix PICyness and un-break build here
+
2016-08-09 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: Fixed SOURCE_URL[0]
updated spell to 0.4.16