summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xCMakeLists.txt6
-rw-r--r--packaging/org.tizen.attach-panel-document.spec12
-rwxr-xr-xsrc/CMakeLists.txt2
3 files changed, 5 insertions, 15 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a6db6ba..cdf217f 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,10 +9,10 @@ ADD_DEFINITIONS("-D_USE_SECURE_LOG_")
# subdir
ADD_SUBDIRECTORY(src)
-ADD_SUBDIRECTORY(res/edje)
-ADD_SUBDIRECTORY(res/edje/icons)
+#ADD_SUBDIRECTORY(res/edje)
+#ADD_SUBDIRECTORY(res/edje/icons)
ADD_SUBDIRECTORY(res/po)
-ADD_SUBDIRECTORY(res/edje/sounds)
+#ADD_SUBDIRECTORY(res/edje/sounds)
CONFIGURE_FILE(attach-panel-document.manifest ${PKGNAME}.manifest)
diff --git a/packaging/org.tizen.attach-panel-document.spec b/packaging/org.tizen.attach-panel-document.spec
index 77af74e..2330014 100644
--- a/packaging/org.tizen.attach-panel-document.spec
+++ b/packaging/org.tizen.attach-panel-document.spec
@@ -43,17 +43,9 @@ export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
cmake . \
-DPREFIX=%{PREFIX} \
- -DPKGDIR=%{name} \
- -DIMGDIR=%{IMGDIR} \
- -DEDJDIR=%{EDJDIR} \
-DPKGNAME=%{name} \
- -DBINDIR=%{BINDIR} \
- -DMANIFESTDIR=%{MANIFESTDIR} \
- -DEDJIMGDIR=%{EDJIMGDIR} \
-DLIBDIR=%{LIBDIR} \
- -DICONDIR=%{ICONDIR} \
-DLOCALEDIR=%{LOCALEDIR} \
- -DIMGICONDIR=%{IMGICONDIR} \
-DPREFIX1=%{TZ_SYS_RO_UG} \
-DRESDIR=%{RESDIR}
@@ -61,9 +53,7 @@ cmake . \
CXXFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
%endif
-cmake . -DCMAKE_INSTALL_PREFIX=%{TZ_SYS_RO_UG} \
- -DARCH=%{ARCH} \
- -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES}
+cmake . -DCMAKE_INSTALL_PREFIX=%{TZ_SYS_RO_UG}
make %{?jobs:-j%jobs}
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bfa8c05..464370a 100755
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,7 +40,7 @@ FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} -fvisibility=hidden -Wall")
+SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} -fvisibility=hidden -Wall -fPIC")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS}")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_CXX_FLAGS}")