summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2016-09-22 01:31:42 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-09-22 20:27:42 +0200
commit3f15f969aa7e5691abdbee81e9af21c3308f9a6a (patch)
tree2e0663ffaf9b74f93ee4909cb4e8d07012884eb8
parentefb29dc3f38645eb105a3c00bc0856b20f5fdbc6 (diff)
downloadbuildroot-3f15f969aa7e5691abdbee81e9af21c3308f9a6a.tar.gz
buildroot-3f15f969aa7e5691abdbee81e9af21c3308f9a6a.zip
package/ola: disable fatal warnings for host variant
By default the build system of OLA passes '-Werror' to GCC. The aborts compilation with GCC 6: ''' error: ‘template<class> class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations] ''' The target variant already passes the option "-disable-fatal-warnings" to the build system to disable '-Werror'. Do it for the host variant to to fix build with host GCC 6. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/ola/ola.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/ola/ola.mk b/package/ola/ola.mk
index 6f62a176c2..75ab25e164 100644
--- a/package/ola/ola.mk
+++ b/package/ola/ola.mk
@@ -40,7 +40,8 @@ HOST_OLA_CONF_OPTS = \
--disable-examples \
--disable-unittests \
--disable-doxygen-html \
- --disable-doxygen-doc
+ --disable-doxygen-doc \
+ --disable-fatal-warnings
# On the host side, we only need ola_protoc_plugin, so build and install this
# only.
OpenPOWER on IntegriCloud