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 | 1aa50dfae56a15c34f1b93106e39a8c78ea22109 (patch) | |
| tree | 0bf8dbbe2f4bfa11fef02ff470830502df17ebf2 /llvm | |
| parent | e00227248e8ead7b15fe8a7ac56e2a4e75742013 (diff) | |
| download | bcm5719-llvm-1aa50dfae56a15c34f1b93106e39a8c78ea22109.tar.gz bcm5719-llvm-1aa50dfae56a15c34f1b93106e39a8c78ea22109.zip | |
Define DEPRECATED so that it can be used in function and variable
declarations.
llvm-svn: 11391
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/Makefile.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index fecbaac36c5..bc93c39f0dc 100644 --- a/llvm/Makefile.rules +++ b/llvm/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 |

