From 7b83cfef6d24a23122a20ab7b0d892913cf9baaf Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Tue, 18 Apr 1995 18:59:29 +0000 Subject: [PATCH] Do not give an error for __attribute__((weak)) on systems that do not support it. From-SVN: r9411 --- gcc/varasm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/varasm.c b/gcc/varasm.c index 4ea82fcb593..cdda400ad65 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -3973,9 +3973,6 @@ declare_weak (decl) handle_pragma_weak (ps_name, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)), NULL_PTR); - -#else - error ("weak declarations are not supported in this configuration"); #endif } -- 2.30.2