projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ffd87
)
[runtime] Disable noisy warning
author
Alexander Kyte
<alexmkyte@gmail.com>
Tue, 12 Jul 2016 17:22:22 +0000
(13:22 -0400)
committer
Alexander Kyte
<alexmkyte@gmail.com>
Tue, 12 Jul 2016 17:22:22 +0000
(13:22 -0400)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 0930a431abaebcf0602fcbe87ccb18c85f26865b..6c5fa8b9ac07d45fb2e57977fb24700c2b9d7e1a 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-520,6
+520,9
@@
if test x"$GCC" = xyes; then
# We rely on signed overflow to behave
CFLAGS="$CFLAGS -fwrapv"
+ # We rely on zero length arrays in structs
+ CFLAGS="$CFLAGS -Wno-zero-length-array"
+
CFLAGS="$CFLAGS -DMONO_DLL_EXPORT"
if test x"$disable_visibility_hidden" = xno; then
# Don't export any symbols by default