From bccab5ed5e192e163773f992c34a25050e9f6592 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Fri, 13 Feb 2004 20:05:44 +0000 Subject: [PATCH] Define DEPRECATED so that it can be used in function and variable declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11391 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.rules b/Makefile.rules index fecbaac36c5..bc93c39f0dc 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -289,6 +289,9 @@ CPPFLAGS += -D_GNU_SOURCE # Pull in limit macros from stdint.h, even in C++: CPPFLAGS += -D__STDC_LIMIT_MACROS +### FIXME: this is GCC specific +CPPFLAGS += -DDEPRECATED='__attribute__ ((deprecated))' + CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused CompileOptimizeOpts := -O3 -DNDEBUG -finline-functions