SET(GC_SECTIONS_FLAGS "-fdata-sections -ffunction-sections -Wl,--gc-sections")
SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} -fvisibility=hidden -Wall")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} ${GC_SECTIONS_FLAGS}")
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_CXX_FLAGS} ${GC_SECTIONS_FLAGS}")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_CXX_FLAGS} ${GC_SECTIONS_FLAGS} -fPIC -Werror")
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
ADD_DEFINITIONS("-DEDJDIR=\"${EDJDIR}\"")
static void __on_destroy(ui_gadget_h ug, app_control_h service, void *priv);
+extern int power_wakeup(bool dim);
+
/**********************************************************************
* Static Functions
evas_object_smart_callback_add(button, "clicked",
__bt_rename_device_ok_cb, ugd);
- elm_genlist_realization_mode_set(genlist, EINA_TRUE);
evas_object_show(genlist);
elm_popup_align_set(popup, ELM_NOTIFY_ALIGN_FILL, 1.0);
evas_object_smart_callback_add(button, "clicked",
__bt_profile_rename_device_ok_cb, dev);
- elm_genlist_realization_mode_set(genlist, EINA_TRUE);
evas_object_show(genlist);
elm_object_content_set(popup, genlist);