| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: options.mk,v 1.2 2020/06/16 16:08:01 scole Exp $ | | 1 | # $NetBSD: options.mk,v 1.3 2020/06/16 16:18:02 scole Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.RE_flex | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.RE_flex |
4 | PKG_SUPPORTED_OPTIONS= cpu-optimization doxygen examples | | 4 | PKG_SUPPORTED_OPTIONS= cpu-optimization doxygen examples |
5 | PKG_SUGGESTED_OPTIONS= cpu-optimization | | 5 | PKG_SUGGESTED_OPTIONS= cpu-optimization examples |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | # XXX don't build with cpu optimizations detected during configure | | 9 | # XXX don't build with cpu optimizations detected during configure |
10 | .if empty(PKG_OPTIONS:Mcpu-optimization) | | 10 | .if empty(PKG_OPTIONS:Mcpu-optimization) |
11 | CONFIGURE_ARGS+= --disable-avx | | 11 | CONFIGURE_ARGS+= --disable-avx |
12 | CONFIGURE_ARGS+= --disable-sse2 | | 12 | CONFIGURE_ARGS+= --disable-sse2 |
13 | CONFIGURE_ARGS+= --disable-neon | | 13 | CONFIGURE_ARGS+= --disable-neon |
14 | .endif | | 14 | .endif |
15 | | | 15 | |
16 | # build and install html docs | | 16 | # build and install html docs |
17 | PLIST_VARS+= doxygen | | 17 | PLIST_VARS+= doxygen |
18 | .if !empty(PKG_OPTIONS:Mdoxygen) | | 18 | .if !empty(PKG_OPTIONS:Mdoxygen) |