Commit 455c1369 authored by Philippe Coval's avatar Philippe Coval Committed by Nathan Heldt-Sheller

build: Remove duplicated -Werror

Should rely only only ./build_common/

More cleanup to come later

Change-Id: I3de75a1485c47fd54ea46da2f3079a6e5fae8084
Origin: https://gerrit.iotivity.org/gerrit/#/c/26833/Signed-off-by: default avatarPhilippe Coval <p.coval@samsung.com>
(cherry picked from commit e26d8059)
parent efb9444a
......@@ -43,7 +43,7 @@ manager_env.PrependUnique(CPPPATH=[
])
if target_os not in ['windows']:
manager_env.AppendUnique(CXXFLAGS=['-std=c++0x', '-Wall', '-Wextra', '-Werror'])
manager_env.AppendUnique(CXXFLAGS=['-std=c++0x', '-Wall', '-Wextra'])
manager_env.PrependUnique(LIBS=['mpmcommon'])
......
......@@ -67,7 +67,6 @@ jni_env.AppendUnique(CPPPATH=[
target_os = env.get('TARGET_OS')
if target_os not in ['windows', 'winrt']:
jni_env.AppendUnique(CCFLAGS=[
'-Werror',
'-Wno-unused-function',
])
jni_env.AppendUnique(CXXFLAGS=['-std=c++0x', '-Wall', '-pthread'])
......
......@@ -37,7 +37,7 @@ samples_env.PrependUnique(CPPPATH=[
])
samples_env.AppendUnique(
CXXFLAGS=['-std=c++0x', '-Wall', '-Wextra', '-Werror'])
CXXFLAGS=['-std=c++0x', '-Wall', '-Wextra'])
if target_os in ['darwin', 'ios']:
samples_env.PrependUnique(LIBS=[
......
......@@ -41,7 +41,7 @@ if compiler != 'cl':
target_os = env.get('TARGET_OS')
if target_os not in ['msys_nt', 'windows']:
examples_env.AppendUnique(CFLAGS=Split('-Wall -std=c99 -Werror'))
examples_env.AppendUnique(CFLAGS=Split('-Wall -std=c99'))
examples_env.AppendUnique(CXXFLAGS=Split('-Wall -std=c++0x'))
examples_env.AppendUnique(LIBS=['oc_logger'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment