This commit removes following cflags from tizen build that
are not supported for clang.
-Wno-unused-but-set-variable
-Wno-null-pointer-subtraction
Change-Id: Idde981cf2bc247de0a60aca8b2c6c215baf0caa9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
# third-party libraries.
"-Wno-c++11-narrowing",
]
- if (!is_nacl) {
+ if (!is_nacl && !is_tizen) {
cflags += [
# Disabled for similar reasons as -Wunused-variable.
"-Wno-unused-but-set-variable",
if (is_clang) {
defines = [ "_WTL_NO_AUTOMATIC_NAMESPACE" ]
- # See https://crbug.com/1208419.
- cflags = [ "-Wno-null-pointer-subtraction" ]
+ if (!is_tizen) {
+ # See https://crbug.com/1208419.
+ cflags = [ "-Wno-null-pointer-subtraction" ]
+ }
}
}