summaryrefslogtreecommitdiffstats
path: root/audio-libs/a52dec/PRE_BUILD
diff options
context:
space:
mode:
authorEric Sandall2019-07-09 03:24:43 +0000
committerEric Sandall2019-07-09 03:24:43 +0000
commitd8b617259e7aa686a0b2e5ab75b14de6a91f3025 (patch)
treee8d7983c843423c79a251aba6ebed6b2541b37bf /audio-libs/a52dec/PRE_BUILD
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.
Diffstat (limited to 'audio-libs/a52dec/PRE_BUILD')
-rwxr-xr-xaudio-libs/a52dec/PRE_BUILD2
1 files changed, 1 insertions, 1 deletions
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