diff options
author | nox <nox@FreeBSD.org> | 2011-11-01 04:55:56 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2011-11-01 04:55:56 +0800 |
commit | 5e7a801ca02017f64f408ab71e83b6c9e9fc077d (patch) | |
tree | 83aa2dce9e4c27b20325b9da14caf679feb621b2 /multimedia/libxine | |
parent | a63c7392442bcde3cafe2cc610f2a44f3fe3c72f (diff) | |
download | freebsd-ports-gnome-5e7a801ca02017f64f408ab71e83b6c9e9fc077d.tar.gz freebsd-ports-gnome-5e7a801ca02017f64f408ab71e83b6c9e9fc077d.tar.zst freebsd-ports-gnome-5e7a801ca02017f64f408ab71e83b6c9e9fc077d.zip |
Generalize optimization sanity check so that levels like -Os are
accepted too.
PR: ports/162204
Submitted by: Samuel Duclos <wiseakasha@hotmail.com>
Diffstat (limited to 'multimedia/libxine')
-rw-r--r-- | multimedia/libxine/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index 708389ff0c58..46ff95f02f05 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -103,7 +103,8 @@ DEBUG_FLAGS= -g -O1 .endif # Check for forced -O0 (or no -O) -.if ${CFLAGS:M-O0} == "-O0" || (${CFLAGS:M-O} == "" && ${CFLAGS:M-O[1-9]} == "") +.if ${CFLAGS:M-O0} == "-O0" || (${CFLAGS:M-O} == "" && \ + ${CFLAGS:M-O[1-9a-z]*} == "") IGNORE= only builds with -O1 or higher, check CFLAGS .endif |