summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandall2019-07-09 03:24:43 +0000
committerEric Sandall2019-07-09 03:24:43 +0000
commitd8b617259e7aa686a0b2e5ab75b14de6a91f3025 (patch)
treee8d7983c843423c79a251aba6ebed6b2541b37bf
parente43f6d2fa5d88f203cefc707f3c2c7a477cfd5ec (diff)
a52dec: 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.
-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