diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-13 20:05:44 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-13 20:05:44 +0000 |
commit | bccab5ed5e192e163773f992c34a25050e9f6592 (patch) | |
tree | b3de00745b93d1b88975c752f173713ea502af3e | |
parent | 68300db6857189afef4febcab11ba3337930c86d (diff) | |
download | llvm-bccab5ed5e192e163773f992c34a25050e9f6592.tar.gz llvm-bccab5ed5e192e163773f992c34a25050e9f6592.tar.bz2 llvm-bccab5ed5e192e163773f992c34a25050e9f6592.tar.xz |
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
-rw-r--r-- | Makefile.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index fecbaac36c..bc93c39f0d 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 |