]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add latomic to ARC platform 7857/head
authorRosen Penev <rosenp@gmail.com>
Tue, 28 May 2019 00:44:36 +0000 (17:44 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 28 May 2019 00:44:36 +0000 (17:44 -0700)
Will fail otherwise with linking errors.

m4/pdns_check_os.m4

index 860f9aa0e35029fc897694041e36ab55f4decc57..40d266a91d7bef77aadd18b78ce171c634926216 100644 (file)
@@ -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()])],