[Glibc-bsd-commits] r2230 - trunk/libbsd/debian

guillem at alioth.debian.org guillem at alioth.debian.org
Sat Jul 12 06:23:20 UTC 2008


Author: guillem
Date: 2008-07-12 06:23:20 +0000 (Sat, 12 Jul 2008)
New Revision: 2230

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

To extract space separated options from DEB_BUILD_OPTIONS.


Modified: trunk/libbsd/debian/changelog
===================================================================
--- trunk/libbsd/debian/changelog	2008-07-12 06:21:39 UTC (rev 2229)
+++ trunk/libbsd/debian/changelog	2008-07-12 06:23:20 UTC (rev 2230)
@@ -15,6 +15,8 @@
     - Rename install to install-arch.
     - Remove dependencies from binary-indep.
     - Change binary-arch to depend only on install-arch.
+    - Use $(filter ...) instead of $(findstring ...) to extract space
+      separated options from DEB_BUILD_OPTIONS.
 
  -- Hector Garcia <hector at debian.org>  Sun, 17 Jul 2005 16:17:35 +0200
 

Modified: trunk/libbsd/debian/rules
===================================================================
--- trunk/libbsd/debian/rules	2008-07-12 06:21:39 UTC (rev 2229)
+++ trunk/libbsd/debian/rules	2008-07-12 06:23:20 UTC (rev 2230)
@@ -5,7 +5,7 @@
 
 CFLAGS = -Wall -g
 
-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