Added gcc flag -pthread to build correctly 17/25017/2 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.m14.3_ivi tizen_3.0_ivi submit/tizen_common/20140725.184508 submit/tizen_common/20140728.142410 submit/tizen_common/20140728.162339 submit/tizen_ivi/20140729.000000 submit/tizen_ivi/20140729.000001 submit/tizen_ivi/20140730.000000 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Fri, 25 Jul 2014 11:03:17 +0000 (13:03 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Fri, 25 Jul 2014 11:12:35 +0000 (13:12 +0200)
Bug-Tizen: TC-1444
Change-Id: Ic9b64c509d9178e207eb28a97d5c03c5c7d44e92
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
CMakeLists.txt

index 7dea0db..fae83a3 100644 (file)
@@ -25,6 +25,7 @@ FOREACH(flag ${pkgs_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
 ENDFOREACH(flag)
 #SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -finstrument-functions")
+SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -pthread")
 
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})