summaryrefslogtreecommitdiffstats
path: root/bin-database
diff options
context:
space:
mode:
authorEric Sandall2019-07-09 03:46:01 +0000
committerEric Sandall2019-07-09 03:46:01 +0000
commit41c881b32339027b2d69a3276a454108d7a34f46 (patch)
treeb1f365e36d64bcf47dd1585a6208d699b169d5b4 /bin-database
parentff52a933083795e2499b5f84c02f109a362057c8 (diff)
usql-bin: 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 'bin-database')
-rw-r--r--bin-database/usql-bin/HISTORY5
-rwxr-xr-xbin-database/usql-bin/PREPARE2
2 files changed, 6 insertions, 1 deletions
diff --git a/bin-database/usql-bin/HISTORY b/bin-database/usql-bin/HISTORY
index 8b219dd..323c7ab 100644
--- a/bin-database/usql-bin/HISTORY
+++ b/bin-database/usql-bin/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-02-10 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 0.7.1
diff --git a/bin-database/usql-bin/PREPARE b/bin-database/usql-bin/PREPARE
index dc40c13..bced2f7 100755
--- a/bin-database/usql-bin/PREPARE
+++ b/bin-database/usql-bin/PREPARE
@@ -1,4 +1,4 @@
-if [ ${SMGL_COMPAT_ARCHS[1]} != "x86_64" ]; then
+if [[ "${SMGL_COMPAT_ARCHS[1]}" != "x86_64" && "${SMGL_COMPAT_ARCHS[1]}" != "em64t" ]]; then
message "${PROBLEM_COLOR}ERROR: spell ${SPELL_COLOR}${SPELL}${PROBLEM_COLOR} is not available for you CPU arch.${DEFAULT_COLOR}" &&
return 1