mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +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)"
|
STRIP_WARN_MSG = "(without symbols)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Allow gnu extensions...
|
# Allow GNU extensions:
|
||||||
CPPFLAGS += -D_GNU_SOURCE
|
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
|
CompileWarnings := -Wall -W -Wwrite-strings -Wno-unused
|
||||||
CompileCommonOpts := $(CompileWarnings) -fshort-enums
|
CompileCommonOpts := $(CompileWarnings) -fshort-enums
|
||||||
|
Loading…
Reference in New Issue
Block a user