From 56f4cd372557815f7af0c7e0d9beb646547f1542 Mon Sep 17 00:00:00 2001 From: tilghman Date: Thu, 15 Jul 2010 18:44:20 +0000 Subject: Fix linking asterisk on CentOS 5, which is using gcc 4.1.1. Gcc 4.1.2 has the real fix. Review: https://reviewboard.asterisk.org/r/790/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276731 f38db490-d61c-443f-a65b-d21fe96a405b --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index be80977a5..98005f015 100644 --- a/configure.ac +++ b/configure.ac @@ -703,8 +703,8 @@ AST_GCC_ATTRIBUTE(always_inline) AST_GCC_ATTRIBUTE(deprecated) AST_GCC_ATTRIBUTE(sentinel) AST_GCC_ATTRIBUTE(warn_unused_result) -AST_GCC_ATTRIBUTE(weakref, [weakref("foo")], static) -AST_GCC_ATTRIBUTE(weak_import) +AST_GCC_ATTRIBUTE(weak_import, [], [], PBX_WEAKREF) +AST_GCC_ATTRIBUTE(weakref, [weakref("foo")], static, PBX_WEAKREF) AC_MSG_CHECKING(for -ffunction-sections support) saved_CFLAGS="${CFLAGS}" -- cgit v1.2.3