OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc2a619
)
configure: set strict default compiler flags
author
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Tue, 21 Nov 2017 19:31:23 +0000
(11:31 -0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 21 Nov 2017 22:07:59 +0000
(14:07 -0800)
Use -Wall -Werror compiler flags for stricter compilation.
Fixes #146
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
ad53d0a
..
0507d64
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-301,6
+301,9
@@
if test "$USE_DRM:$USE_X11:$USE_WAYLAND" = "no:no:no"; then
AC_MSG_ERROR([Please select at least one backend (DRM, X11, Wayland)])
fi
+AC_SUBST([AM_CFLAGS], ["-Wall -Werror"])
+AC_SUBST([AM_CXXFLAGS], ["-Wall -Werror"])
+
AC_OUTPUT([
Makefile
doc/Makefile