diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-28 19:09:28 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-28 19:09:28 +0000 |
commit | 90eca5505fb9c48367990fa1b1b58b0e6ed64edd (patch) | |
tree | 3c7ac98f22d5b34303e3cee55c2df7a9a977cdb2 /Makefile.rules | |
parent | 08020c13d026c6b61ca68e3f9da127a4d8be36ba (diff) |
Add __STDC_LIMIT_MACROS here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index ae697354af..65599cc795 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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 |