[Glibc-bsd-commits] r2454 - trunk/freebsd-libs/debian

Guillem Jover guillem at alioth.debian.org
Fri Apr 17 23:53:46 UTC 2009


Author: guillem
Date: 2009-04-17 23:53:46 +0000 (Fri, 17 Apr 2009)
New Revision: 2454

Modified:
   trunk/freebsd-libs/debian/changelog
   trunk/freebsd-libs/debian/rules
Log:
Use $(filter ...) instead of $(findstring ...)

To extract space separated options from DEB_BUILD_OPTIONS.


Modified: trunk/freebsd-libs/debian/changelog
===================================================================
--- trunk/freebsd-libs/debian/changelog	2009-04-17 23:52:13 UTC (rev 2453)
+++ trunk/freebsd-libs/debian/changelog	2009-04-17 23:53:46 UTC (rev 2454)
@@ -1,3 +1,10 @@
+freebsd-libs (7.1-3) UNRELEASED; urgency=low
+
+  * Use $(filter ...) instead of $(findstring ...) to extract space separated
+    options from DEB_BUILD_OPTIONS.
+
+ -- Guillem Jover <guillem at debian.org>  Sat, 18 Apr 2009 01:52:52 +0200
+
 freebsd-libs (7.1-2) unstable; urgency=low
 
   * Upload to unstable. 

Modified: trunk/freebsd-libs/debian/rules
===================================================================
--- trunk/freebsd-libs/debian/rules	2009-04-17 23:52:13 UTC (rev 2453)
+++ trunk/freebsd-libs/debian/rules	2009-04-17 23:53:46 UTC (rev 2454)
@@ -11,7 +11,7 @@
 
 CFLAGS = -Wall -g -pipe -fPIC -I. -D_GNU_SOURCE
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
 	CFLAGS += -O2




More information about the Glibc-bsd-commits mailing list