From 2c19561428f8f68fb7d2ab9e8eee3da28f56e770 Mon Sep 17 00:00:00 2001 From: Yong Wang Date: Fri, 27 Jul 2012 08:54:57 +0800 Subject: Define X86 when building for IA In commit 67b79a X86 macro is defined to distinguish IA and ARM at compile time so that different options could be passed to xset to turn on display. However, X86 macro is not defined anywhere. This patch defines X86 macro when building for IA. Signed-off-by: Yong Wang --- packaging/power-manager.changes | 6 ++++++ packaging/power-manager.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/packaging/power-manager.changes b/packaging/power-manager.changes index c9e3719..6713a1b 100644 --- a/packaging/power-manager.changes +++ b/packaging/power-manager.changes @@ -1,3 +1,9 @@ +* Fri Jul 27 2012 Yong Wang 20120724.1.flora@fe8ace2 +- Define X86 when building for IA. In commit 67b79a X86 macro is defined + to distinguish IA and ARM at compile time so that different options could + be passed to xset to turn on display. However, X86 macro is not defined + anywhere. This patch defines X86 macro when building for IA. + * Fri Jul 13 2012 Austin Zhang - When power-manager was blocked due to check in-progress wakeup event in kernel, it would not be able to handle input event like power button, diff --git a/packaging/power-manager.spec b/packaging/power-manager.spec index 2c397e2..71ce855 100644 --- a/packaging/power-manager.spec +++ b/packaging/power-manager.spec @@ -28,6 +28,9 @@ Tizen Power manager %build cp %{SOURCE1001} . +%ifarch %ix86 +CFLAGS+=" -DX86" +%endif cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} make %{?_smp_mflags} -- cgit v1.2.3