summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Sandall2019-07-09 03:24:49 +0000
committerEric Sandall2019-07-09 03:24:49 +0000
commit53cdd39c7a4f0c5c914d5546bebe40aab9e3f610 (patch)
treef9075810882cbe3d954381d42b6b816ce989ea3e /net
parentcdb0337bf2f065c5a65d09c11027e81895341fb4 (diff)
tcp_wrappers: 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 'net')
-rwxr-xr-xnet/tcp_wrappers/BUILD2
-rw-r--r--net/tcp_wrappers/HISTORY5
2 files changed, 6 insertions, 1 deletions
diff --git a/net/tcp_wrappers/BUILD b/net/tcp_wrappers/BUILD
index bc8814d137..f4367cd736 100755
--- a/net/tcp_wrappers/BUILD
+++ b/net/tcp_wrappers/BUILD
@@ -2,7 +2,7 @@
sed -i "/^extern/d" scaffold.c &&
patch -p 1 < $SCRIPT_DIRECTORY/tcp_wrappers.patch &&
-if [[ ${SMGL_COMPAT_ARCHS[1]} == "x86_64" ]]; then
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]]; then
# There are folks who want to link libwrap into shared objects.
CFLAGS+=" -DPIC -fPIC"
fi
diff --git a/net/tcp_wrappers/HISTORY b/net/tcp_wrappers/HISTORY
index 6a5f37148b..70449de89a 100644
--- a/net/tcp_wrappers/HISTORY
+++ b/net/tcp_wrappers/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-01-19 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: delete gnupg