diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-19 12:32:55 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-19 14:43:47 +0200 |
commit | 209e7e6dd8e23bc6501ada7d7b4caa99e449de6a (patch) | |
tree | e9e4b493a3fbf717d0747bafcba5e0604a238692 /recipes-qt/qt5/qtwebengine_git.bb | |
parent | d9f4b6e55e02458e6bd4b66188cb87d8a7c474fc (diff) | |
download | meta-qt5-209e7e6dd8e23bc6501ada7d7b4caa99e449de6a.tar.gz |
qtwebengine: disable SECURITY_STRINGFORMAT to fix the build
* meta/conf/distro/include/security_flags.inc adds -Wformat and
-Wformat-security, but openh264 adds -Wno-format after that causing
build to fail
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine_git.bb')
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 84c46688..ab293a96 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -32,6 +32,14 @@ EXTRA_QMAKEVARS_PRE += "GYP_CONFIG+=use_system_yasm \ | |||
32 | GYP_CONFIG+=use_experimental_allocator_shim=false \ | 32 | GYP_CONFIG+=use_experimental_allocator_shim=false \ |
33 | " | 33 | " |
34 | 34 | ||
35 | # chromium/third_party/openh264/openh264.gyp adds | ||
36 | # -Wno-format to openh264_cflags_add | ||
37 | # similarly chromium/third_party/openh264/BUILD.gn for newer qtwebengine | ||
38 | # causing following error, because -Wformat-security cannot be used together with -Wno-format | ||
39 | # cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] | ||
40 | # http://errors.yoctoproject.org/Errors/Details/150333/ | ||
41 | SECURITY_STRINGFORMAT = "" | ||
42 | |||
35 | # To use system ffmpeg you need to enable also libwebp, opus, vpx | 43 | # To use system ffmpeg you need to enable also libwebp, opus, vpx |
36 | # Only depenedencies available in oe-core are enabled by default | 44 | # Only depenedencies available in oe-core are enabled by default |
37 | PACKAGECONFIG ??= "libwebp flac libevent libxslt speex" | 45 | PACKAGECONFIG ??= "libwebp flac libevent libxslt speex" |