Remove unnecessary profile flags 13/68613/3 submit/tizen/20160511.063207 submit/tizen/20160512.073811
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 9 May 2016 01:43:05 +0000 (10:43 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 9 May 2016 07:35:10 +0000 (16:35 +0900)
Change-Id: I849b3067e714885fae92fd80532bea11ded33cc6
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
CMakeLists.txt
packaging/capi-network-http.spec

index 3438bf8..c6c0a5c 100644 (file)
@@ -19,10 +19,6 @@ IF("${CMAKE_BUILD_TYPE}" STREQUAL "Private")
        SET(CMAKE_BUILD_TYPE "Release")
 ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "Private")
 
-IF(TIZEN_MOBILE)
-       ADD_DEFINITIONS(-DTIZEN_MOBILE)
-ENDIF(TIZEN_MOBILE)
-
 INCLUDE(FindPkgConfig)
 pkg_check_modules(${fw_name} REQUIRED ${dependents})
 FOREACH(flag ${${fw_name}_CFLAGS})
index 48c3477..7e348f0 100644 (file)
@@ -35,13 +35,6 @@ export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 
 %cmake -DCMAKE_BUILD_TYPE="Private" \
-%if "%{?tizen_profile_name}" == "wearable"
-       -DTIZEN_WEARABLE=1 \
-%else
-%if "%{?tizen_profile_name}" == "mobile"
-       -DTIZEN_MOBILE=1 \
-%endif
-%endif
 %ifarch %{arm}
        -DCMAKE_BUILD_TYPE="Private" -DARCH=arm \
 %else