mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
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
This commit is contained in:
parent
68300db685
commit
bccab5ed5e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user