From: Rosen Penev Date: Tue, 28 May 2019 00:44:36 +0000 (-0700) Subject: Add latomic to ARC platform X-Git-Tag: dnsdist-1.4.0-beta1~22^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=679cd10c03863839180381dafcad89bcc0f5ab32;p=pdns Add latomic to ARC platform Will fail otherwise with linking errors. --- diff --git a/m4/pdns_check_os.m4 b/m4/pdns_check_os.m4 index 860f9aa0e..40d266a91 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-* ) + arc-* | mips* | powerpc-* ) AC_MSG_CHECKING([whether the linker accepts -latomic]) LDFLAGS="-latomic $LDFLAGS" AC_LINK_IFELSE([m4_default([],[AC_LANG_PROGRAM()])],