diff options
author | joerg <joerg@pkgsrc.org> | 2014-08-13 22:33:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-08-13 22:33:16 +0000 |
commit | deec7d43f032e48c482df31063b4440812894c7b (patch) | |
tree | ace399899fd7d60dee2dca3b47b58de0e42c91dd /www/firefox | |
parent | 30eabe4993014c62bac680d630596ef5ecf03368 (diff) | |
download | pkgsrc-deec7d43f032e48c482df31063b4440812894c7b.tar.gz |
Separate the if statements as clang will result in a string expression
and make warning about it.
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/options.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/firefox/options.mk b/www/firefox/options.mk index 5780dd856a5..54cad22c373 100644 --- a/www/firefox/options.mk +++ b/www/firefox/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.23 2014/06/20 07:27:50 martin Exp $ +# $NetBSD: options.mk,v 1.24 2014/08/13 22:33:16 joerg Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.firefox PKG_SUPPORTED_OPTIONS= official-mozilla-branding @@ -46,12 +46,14 @@ CONFIGURE_ARGS+= --disable-jemalloc .endif .include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mgcc) && ${CC_VERSION:S/gcc-//:S/.//g} >= 480 +.if !empty(PKGSRC_COMPILER:Mgcc) +.if ${CC_VERSION:S/gcc-//:S/.//g} >= 480 # Modern gcc does not run any "tracking" passes when compiling with -O0, # which makes the generated debug info mostly useless. So explicitly # request them. O0TRACKING=-fvar-tracking-assignments -fvar-tracking .endif +.endif .if !empty(PKG_OPTIONS:Mdebug) CONFIGURE_ARGS+= --enable-debug="-g -O0 ${O0TRACKING}" --enable-debug-symbols --disable-optimize |