diff options
author | Colin Watson <cjwatson@debian.org> | 2008-06-08 20:41:29 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-06-08 20:41:29 +0000 |
commit | 1e9c9549f143e974d6cce857b3e1af1639265758 (patch) | |
tree | 1cac744204b94bd22251d6a99c0d9da7e41590bf /debian/rules | |
parent | c46a9969edd7cde3db2358ec924bd86b0802a78d (diff) |
Update DEB_BUILD_OPTIONS parsing code from policy 3.8.0.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index b5272c4b8..0c48082b5 100755 --- a/debian/rules +++ b/debian/rules | |||
@@ -6,7 +6,7 @@ | |||
6 | # This has to be exported to make some magic below work. | 6 | # This has to be exported to make some magic below work. |
7 | export DH_OPTIONS | 7 | export DH_OPTIONS |
8 | 8 | ||
9 | ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | 9 | ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) |
10 | OPTFLAGS := -O2 | 10 | OPTFLAGS := -O2 |
11 | else | 11 | else |
12 | OPTFLAGS := -O0 | 12 | OPTFLAGS := -O0 |