Patchwork [2/2] ola: disable -Werror

login
register
mail settings
Submitter Thomas Petazzoni
Date Nov. 21, 2013, 10:18 p.m.
Message ID <1385072305-9127-2-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/293259/
State Accepted
Commit 768f261be03c29829b653467bc3c1587b0e751dc
Headers show

Comments

Thomas Petazzoni - Nov. 21, 2013, 10:18 p.m.
By default, the ola build uses -Werror, so let's pass
--disable-fatal-warnings to remove this and avoid build failures
caused by warnings.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/ola/ola.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/package/ola/ola.mk b/package/ola/ola.mk
index 835ca4e..bc7de24 100644
--- a/package/ola/ola.mk
+++ b/package/ola/ola.mk
@@ -19,7 +19,8 @@  OLA_CONF_OPT = \
 	--disable-tcmalloc \
 	--disable-unittests \
 	--disable-root-check \
-	--disable-java-libs
+	--disable-java-libs \
+	--disable-fatal-warnings
 
 # sets where to find python libs built for target and required by ola
 OLA_CONF_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages