[maemo-commits] [maemo-commits] r13744 - projects/haf/trunk/libxml2/debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Sep 11 14:23:31 EEST 2007
Author: marivoll
Date: 2007-09-11 14:23:29 +0300 (Tue, 11 Sep 2007)
New Revision: 13744

Modified:
   projects/haf/trunk/libxml2/debian/changelog
   projects/haf/trunk/libxml2/debian/rules
Log:
libxml2 (2.6.27.dfsg-1osso3) unstable; urgency=low

  * Prefer hardware floating point unless configured otherwise.

 -- Marius Vollmer <marius.vollmer at nokia.com>  Tue, 11 Sep 2007 14:03:14 +0300


Modified: projects/haf/trunk/libxml2/debian/changelog
===================================================================
--- projects/haf/trunk/libxml2/debian/changelog	2007-09-11 11:21:45 UTC (rev 13743)
+++ projects/haf/trunk/libxml2/debian/changelog	2007-09-11 11:23:29 UTC (rev 13744)
@@ -1,3 +1,9 @@
+libxml2 (2.6.27.dfsg-1osso3) unstable; urgency=low
+
+  * Prefer hardware floating point unless configured otherwise.
+
+ -- Marius Vollmer <marius.vollmer at nokia.com>  Tue, 11 Sep 2007 14:03:14 +0300
+
 libxml2 (2.6.27.dfsg-1osso2) unstable; urgency=low
 
   * Removed some non-free (document) files from the tarball:

Modified: projects/haf/trunk/libxml2/debian/rules
===================================================================
--- projects/haf/trunk/libxml2/debian/rules	2007-09-11 11:21:45 UTC (rev 13743)
+++ projects/haf/trunk/libxml2/debian/rules	2007-09-11 11:23:29 UTC (rev 13744)
@@ -13,10 +13,15 @@
 
 DEB_DH_STRIP_ARGS := --dbg-package=libxml2
 
+# 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
 
 clean::
 	rm -f *.cdbs-config_list


More information about the maemo-commits mailing list