[maemo-commits] [maemo-commits] r13502 - projects/haf/trunk/glib/debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Aug 30 17:39:20 EEST 2007
Author: fherrera
Date: 2007-08-30 17:39:18 +0300 (Thu, 30 Aug 2007)
New Revision: 13502

Modified:
   projects/haf/trunk/glib/debian/changelog
   projects/haf/trunk/glib/debian/rules
Log:
glib2.0 (2.12.12-1osso7) unstable; urgency=low

  * Enable floating point. Patch by Leonid  Moiseichuk. Fixes: NB#61971




Modified: projects/haf/trunk/glib/debian/changelog
===================================================================
--- projects/haf/trunk/glib/debian/changelog	2007-08-30 14:37:01 UTC (rev 13501)
+++ projects/haf/trunk/glib/debian/changelog	2007-08-30 14:39:18 UTC (rev 13502)
@@ -1,3 +1,9 @@
+glib2.0 (2.12.12-1osso7) unstable; urgency=low
+
+  * Enable floating point. Patch by Leonid  Moiseichuk. Fixes: NB#61971
+
+ -- Fernando Herrera <fernando.herrera-de-las-heras at nokia.com>  Thu, 30 Aug 2007 17:38:21 +0300
+
 glib2.0 (2.12.12-1osso6) unstable; urgency=low
 
   * backport glib upstream trunk fixes for GSLice late thread initialization.

Modified: projects/haf/trunk/glib/debian/rules
===================================================================
--- projects/haf/trunk/glib/debian/rules	2007-08-30 14:37:01 UTC (rev 13501)
+++ projects/haf/trunk/glib/debian/rules	2007-08-30 14:39:18 UTC (rev 13502)
@@ -19,6 +19,18 @@
 else
 	CFLAGS += -O2 -g
 endif
+
+# Prefer hardware floating point if enabled
+ifneq (,$(findstring vfp,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -mfpu=vfp -mfloat-abi=softfp
+else
+# Use soft-float and thumb mode if it enabled.
+ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -mthumb
+endif
+endif
+
+
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s
 endif


More information about the maemo-commits mailing list