projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68300db
)
Define DEPRECATED so that it can be used in function and variable
author
Alkis Evlogimenos
<alkis@evlogimenos.com>
Fri, 13 Feb 2004 20:05:44 +0000
(20:05 +0000)
committer
Alkis Evlogimenos
<alkis@evlogimenos.com>
Fri, 13 Feb 2004 20:05:44 +0000
(20:05 +0000)
declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11391
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index fecbaac36c5fbd2838deafbc3395dc3ccffbcc01..bc93c39f0dc361f4840de487391332d9ec147234 100644
(file)
--- 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