This patch (http://165.213.202.130/gerrit/#/c/109103/) was cherry-picked
from the m47/beta.
The build option '-Wall', '-Wformat, and '-Wformat-security' have been used as
tizen global options. Recently, tizen platform team decided to remove a option
'-Wformat' which is already included in '-Wall'.
Due to the chnage, following build break happens from chromium-efl build.
>> cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
The build break is caused by a cflag '-Wno-format', defined in 'build/common.gypi'.
So, this CL tries to ignore the cflag for tizen port.
Bug: http://10.113.136.204/jira/i#browse/TWF-338
Change-Id: I2e381eef38083bd50f67a24fcd3439650b95fccd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
'OS_TIZEN=1',
'WTF_OS_TIZEN=1',
],
+ # Tizen build system has a global option '-Wformat-security'.
+ # So, a cflag '-Wno-format' from chromium-efl needs to be ignored.
+ # Otherwise, following error will happen.
+ # error: -Wformat-security ignored without -Wformat [-Werror=format-security]
+ 'cflags!': [
+ '-Wno-format',
+ ],
'conditions': [
['chromium_efl_tizen_version=="3.0"', {
'defines': [