mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 12:49:50 +00:00
Add __STDC_LIMIT_MACROS here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9549 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08020c13d0
commit
90eca5505f
@ -288,8 +288,10 @@ STRIP = $(PLATFORMSTRIPOPTS)
|
||||
STRIP_WARN_MSG = "(without symbols)"
|
||||
endif
|
||||
|
||||
# Allow gnu extensions...
|
||||
# Allow GNU extensions:
|
||||
CPPFLAGS += -D_GNU_SOURCE
|
||||
# Pull in limit macros from stdint.h, even in C++:
|
||||
CPPFLAGS += -D__STDC_LIMIT_MACROS
|
||||
|
||||
CompileWarnings := -Wall -W -Wwrite-strings -Wno-unused
|
||||
CompileCommonOpts := $(CompileWarnings) -fshort-enums
|
||||
|
Loading…
Reference in New Issue
Block a user