diff options
author | marius vlad <marius.c.vlad@intel.com> | 2016-05-10 17:32:15 +0300 |
---|---|---|
committer | Marius Vlad <marius.c.vlad@intel.com> | 2016-05-11 18:22:05 +0300 |
commit | 701d8fdb363443453c4b613e9180f75ad36a7321 (patch) | |
tree | 200be95af16c037a99807fadcd764f736db482c1 /overlay | |
parent | 2d432fc5773df17f04283f4780dab161dd2e1c85 (diff) |
benchmarks/, overlay/, demos/, tools/, tests/: Add optional Werror.
v2: Initially added Werror by default. Make it optional so it doesn't
break android build and (potential) distros maintaing the package
(Hinted by Damien Lespiau).
--enable-werror will enable -Werror compiler flag.
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
Acked-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/overlay/Makefile.am b/overlay/Makefile.am index c648875d..c9265578 100644 --- a/overlay/Makefile.am +++ b/overlay/Makefile.am @@ -3,7 +3,8 @@ bin_PROGRAMS = intel-gpu-overlay endif AM_CPPFLAGS = -I. -AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) $(CAIRO_CFLAGS) $(OVERLAY_CFLAGS) +AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) \ + $(CAIRO_CFLAGS) $(OVERLAY_CFLAGS) $(WERROR_CLFAGS) LDADD = $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS) $(OVERLAY_LIBS) intel_gpu_overlay_SOURCES = \ |