summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorEric Sandall2019-07-09 02:50:26 +0000
committerEric Sandall2019-07-09 02:50:26 +0000
commit60411f57ef40d8847804be5162ffbb530ff56411 (patch)
tree110f566dd40330886260fc6b3de259e2fab504bb /FUNCTIONS
parentf37c3c03d49ccfb576672a1f2ac18de6d79509f5 (diff)
FUNCTIONS: In disable_pic, check 64-bit for EM64T as well.
Sorcery devel (from git), glibc, gcc, or updated smgl-archspecs changed SMGL_COMPAT_ARCH[1] from x86_64 to em64t.
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS1
1 files changed, 1 insertions, 0 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index 8f214ccd70..5181888a44 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -517,6 +517,7 @@ function default_install_perl() {
disable_pic() {
if [[ "${SMGL_COMPAT_ARCHS[1]}" != "x86_64" ]] &&
+ [[ "${SMGL_COMPAT_ARCHS[1]}" != "em64t" ]] &&
[[ "${SMGL_COMPAT_ARCHS[1]}" != "alpha" ]] ||
[[ "$1" == "force" ]]
then