summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg>2014-08-13 22:33:16 +0000
committerjoerg <joerg>2014-08-13 22:33:16 +0000
commit6d725012f78e0366ae0ac4e67bedfdc2834940c0 (patch)
treeace399899fd7d60dee2dca3b47b58de0e42c91dd /www
parent01ec9a1034ad11e8b6c66943905948cb560da99d (diff)
downloadpkgsrc-6d725012f78e0366ae0ac4e67bedfdc2834940c0.tar.gz
Separate the if statements as clang will result in a string expression
and make warning about it.
Diffstat (limited to 'www')
-rw-r--r--www/firefox/options.mk6
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