summaryrefslogtreecommitdiffstats
path: root/audio-soft
diff options
context:
space:
mode:
authorEric Sandall2019-07-09 03:24:43 +0000
committerEric Sandall2019-07-09 03:24:43 +0000
commitf675978392e95d6538a33fdf3f3781f9e7867d77 (patch)
treea54e0daea00a475303ae0e4e79192cd82f1187f1 /audio-soft
parent00d20c087d234d7dbdcdf9899a5277d03efe80de (diff)
musepack-tools: 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-soft')
-rw-r--r--audio-soft/musepack-tools/HISTORY5
-rwxr-xr-xaudio-soft/musepack-tools/PRE_BUILD2
2 files changed, 6 insertions, 1 deletions
diff --git a/audio-soft/musepack-tools/HISTORY b/audio-soft/musepack-tools/HISTORY
index 118d6b1c19..495b4ce824 100644
--- a/audio-soft/musepack-tools/HISTORY
+++ b/audio-soft/musepack-tools/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.
+
2009-06-16 Andraž "ruskie" Levstik <ruskie+f03a580f@codemages.net>
* PRE_BUILD: updated for x86_64
diff --git a/audio-soft/musepack-tools/PRE_BUILD b/audio-soft/musepack-tools/PRE_BUILD
index d12d85fc0f..e011204c12 100755
--- a/audio-soft/musepack-tools/PRE_BUILD
+++ b/audio-soft/musepack-tools/PRE_BUILD
@@ -17,7 +17,7 @@ if [[ "${SMGL_COMPAT_ARCHS[1]}" != "ia32" ]] ; then
sed -i 's/#define USE_ASM/#undef USE_ASM/' mpp.h
fi
-if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]] ; then
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]] ; then
sed -i 's/-f elf$/-f elf64/' Makefile
fi