diff options
author | Guillem Jover <guillem@debian.org> | 2009-04-17 23:37:15 +0000 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2010-06-10 23:21:25 +0200 |
commit | 1651ecf09bf30007b09dac08308757f092b811c7 (patch) | |
tree | 7065b89de666dd0c2c682c2d2f1b9c4bf78aaa98 | |
parent | 94044a347b9f765ebb870dc78263ec45a31736c3 (diff) | |
download | inetutils-1651ecf09bf30007b09dac08308757f092b811c7.tar.gz |
Use $(filter ...) instead of $(findstring ...)
To extract space separated options from DEB_BUILD_OPTIONS.
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index a01b5ce..9c62fa3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +inetutils (2:1.6-2) UNRELEASED; urgency=low + + * Use $(filter ...) instead of $(findstring ...) to extract space separated + options from DEB_BUILD_OPTIONS in debian/rules. + + -- Guillem Jover <guillem@debian.org> Sat, 18 Apr 2009 01:26:42 +0200 + inetutils (2:1.6-1) unstable; urgency=low * New upstream release. diff --git a/debian/rules b/debian/rules index 7606fb7..e8b72f1 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ endif CFLAGS = -Wall -g -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 |