added thumb flag for compilation
authorTapani Palli <tapani.palli@nokia.com>
Wed, 19 Apr 2006 11:31:38 +0000 (11:31 +0000)
committerTapani Palli <tapani.palli@nokia.com>
Wed, 19 Apr 2006 11:31:38 +0000 (11:31 +0000)
ChangeLog
debian/rules

index ef5208e..6ed073f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-19  Tapani Palli <tapani.palli@nokia.com>
+
+       * applied thumb flag for compilation
+
 2006-04-19  Johan Bilien  <johan.bilien@nokia.com>
 
        * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
index f186e8d..528bc85 100755 (executable)
@@ -21,6 +21,12 @@ ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 else
        CFLAGS += -O2
 endif
+
+# Use soft-float and thumb mode if it enabled. 
+ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -mthumb
+endif
+
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        INSTALL_PROGRAM += -s
 endif