summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McCarty <patrick.mccarty@linux.intel.com>2013-04-11 21:29:20 (GMT)
committerGerrit Code Review <gerrit2@kim11>2013-04-11 21:29:20 (GMT)
commit0ac5eb19548ea1558986bd1dcffc3cc8b5b70d91 (patch)
treea5d945ad1d356e34d121c8d73b046d59f1a77760
parentd64e6dbfc1da42bcd50bc6b6f5084a9384477bfa (diff)
parent4a23fc9bded92dbe398068ce5584d3e9e58f4a38 (diff)
downloadstarter-0ac5eb19548ea1558986bd1dcffc3cc8b5b70d91.zip
starter-0ac5eb19548ea1558986bd1dcffc3cc8b5b70d91.tar.gz
starter-0ac5eb19548ea1558986bd1dcffc3cc8b5b70d91.tar.bz2
Merge "Fix debuginfo generation" into tizen_2.1
-rwxr-xr-xlock-setting/lockscreen-options/CMakeLists.txt7
-rw-r--r--[-rwxr-xr-x]packaging/starter.spec2
2 files changed, 4 insertions, 5 deletions
diff --git a/lock-setting/lockscreen-options/CMakeLists.txt b/lock-setting/lockscreen-options/CMakeLists.txt
index 09dde8d..719f98e 100755
--- a/lock-setting/lockscreen-options/CMakeLists.txt
+++ b/lock-setting/lockscreen-options/CMakeLists.txt
@@ -24,12 +24,11 @@ INCLUDE(FindPkgConfig)
pkg_check_modules(pkgs_lock-screen-options REQUIRED elementary ui-gadget-1 edje evas ail capi-appfw-application)
FOREACH(flag ${pkgs_lock-screen-options_CFLAGS})
- SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}")
+ SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} -fvisibility=hidden -Wall")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS}")
-SET(CMAKE_C_FLAGS ${CMAKE_CXX_FLAGS})
+SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -Wall")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
diff --git a/packaging/starter.spec b/packaging/starter.spec
index ec20f9b..3dbccff 100755..100644
--- a/packaging/starter.spec
+++ b/packaging/starter.spec
@@ -47,7 +47,7 @@ Description: Starter
%prep
%setup -q
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+%cmake .
%build