summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio-libs/a52dec/HISTORY5
-rwxr-xr-xaudio-libs/a52dec/PRE_BUILD2
2 files changed, 6 insertions, 1 deletions
diff --git a/audio-libs/a52dec/HISTORY b/audio-libs/a52dec/HISTORY
index fe4760832a..3a702eadd4 100644
--- a/audio-libs/a52dec/HISTORY
+++ b/audio-libs/a52dec/HISTORY
@@ -1,3 +1,8 @@
+2019-07-08 Eric Sandall <sandalle@sourcemage.org>
+ * Set 64-bit for EM64T as well.
+ Sorcery devel (from git), glibc, gcc, or updated smgl-archspecs changed
+ SMGL_COMPAT_ARCHS[1] from x86_64 to em64t.
+
2019-05-23 Ismael Luceno <ismael@sourcemage.org>
* PRE_BUILD: Fixed build against musl
diff --git a/audio-libs/a52dec/PRE_BUILD b/audio-libs/a52dec/PRE_BUILD
index 78dbe5ad55..1b1ee1bdc1 100755
--- a/audio-libs/a52dec/PRE_BUILD
+++ b/audio-libs/a52dec/PRE_BUILD
@@ -2,6 +2,6 @@ default_pre_build &&
cd $SOURCE_DIRECTORY &&
sedit 's!maybe_os in$!& linux-musl*|\\!' autotools/config.sub &&
-if [ "${SMGL_COMPAT_ARCHS[1]}" = x86_64 ]; then
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]]; then
patch -p1 < $SPELL_DIRECTORY/fPIC.patch
fi