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:
08020c1
)
Add __STDC_LIMIT_MACROS here.
author
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 28 Oct 2003 19:09:28 +0000
(19:09 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 28 Oct 2003 19:09:28 +0000
(19:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9549
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile.rules
patch
|
blob
|
history
diff --git
a/Makefile.rules
b/Makefile.rules
index ae697354af4a1723225428f030bc23c838ac8540..65599cc795399753b1cb1a537302d1b106a27558 100644
(file)
--- 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