chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f47bb8
)
build-sys: use -Wno-gnu-variable-sized-type-not-at-end under clang
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 10 Oct 2014 03:30:45 +0000
(22:30 -0500)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 10 Oct 2014 03:32:55 +0000
(23:32 -0400)
Otherwise we get useless warnings about journal code.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index d04f6f464fbf42db1a2c419a0b15f0f8a2cf8089..945adfcbee9632ef8e24a96ae5603c135ed838dc 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-200,7
+200,9
@@
CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
AS_CASE([$CC], [*clang*],
[CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\
- -Wno-typedef-redefinition])])
+ -Wno-typedef-redefinition \
+ -Wno-gnu-variable-sized-type-not-at-end \
+ ])])
AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
[CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\