pdns/pdns-fix-ppc64.patch

24 lines
729 B
Diff

From 8e94e9744fba8c7c1e09a2a611198901c05d1e40 Mon Sep 17 00:00:00 2001
From: Morten Stevens <mstevens@fedoraproject.org>
Date: Mon, 26 Jun 2017 16:41:24 +0200
Subject: [PATCH] Fix building on ppc64
---
m4/pdns_check_os.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/pdns_check_os.m4 b/m4/pdns_check_os.m4
index 2afdbb6bd4..37bf7a8572 100644
--- a/m4/pdns_check_os.m4
+++ b/m4/pdns_check_os.m4
@@ -36,7 +36,7 @@ AC_DEFUN([PDNS_CHECK_OS],[
AM_CONDITIONAL([HAVE_SOLARIS], [test "x$have_solaris" = "xyes"])
case "$host" in
- mips* | powerpc* )
+ mips* | powerpc-* )
AX_CHECK_LINK_FLAG([-latomic],
[ : ],
[ AC_MSG_ERROR([Unable to link against libatomic, cannot continue]) ]