summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunfeng Dong <junfeng.dong@intel.com>2013-06-20 18:43:48 +0800
committerJunfeng Dong <junfeng.dong@intel.com>2013-06-20 19:12:43 +0800
commit88821265b7f06f8d4118901421343b26a3bdef31 (patch)
tree9b07cbab4783a94dc252c7989959f61054c955e3
parenta9501fe5a871e081789ad261b26643ca705a5d96 (diff)
downloadoma-ds-agent-88821265b7f06f8d4118901421343b26a3bdef31.tar.gz
oma-ds-agent-88821265b7f06f8d4118901421343b26a3bdef31.tar.bz2
oma-ds-agent-88821265b7f06f8d4118901421343b26a3bdef31.zip
Fixed build error on 3.0submit/tizen/20130620.112008
Removed Werror to fix GCC 4.7. Installed systemd into /usr/lib. Change-Id: I6d62ac9552154d88ea413f9b5ba63f44f32b1ceb Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
-rw-r--r--BuildFlags.cmake2
-rwxr-xr-xpackaging/oma-ds-agent.spec6
2 files changed, 4 insertions, 4 deletions
diff --git a/BuildFlags.cmake b/BuildFlags.cmake
index 8e64bcd..2f3a2e3 100644
--- a/BuildFlags.cmake
+++ b/BuildFlags.cmake
@@ -4,7 +4,7 @@ IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
SET(CMAKE_BUILD_TYPE "Release")
ENDIF()
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g -Werror -Wno-deprecated-declarations")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g")
SET(CMAKE_C_FLAGS_DEBUG "-O0")
SET(CMAKE_C_FLAGS_RELEASE "-O2")
diff --git a/packaging/oma-ds-agent.spec b/packaging/oma-ds-agent.spec
index 86750bd..267af0b 100755
--- a/packaging/oma-ds-agent.spec
+++ b/packaging/oma-ds-agent.spec
@@ -57,9 +57,9 @@ sqlite3 %{buildroot}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST
%make_install
# systemd service script sertup
-mkdir -p %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
-install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/
-ln -s ../oma-ds-agent.service %{buildroot}%{_libdir}/systemd/system/graphical.target.wants/oma-ds-agent.service
+mkdir -p %{buildroot}/usr/lib/systemd/system/graphical.target.wants
+install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/system/
+ln -s ../oma-ds-agent.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service
%clean
rm -rf %{buildroot}