about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-04-09 11:51:46 -0700
committerBrian Anderson <banderson@mozilla.com>2015-04-09 11:51:46 -0700
commit0e0c841bd5f7bbf3f5788e9e96aa682e6e7726b2 (patch)
tree5946e6d1b3adb5625f03bd89aa3c1fecdcc424b4
parenta725426ec8464e17794b0e8d0a06d33ba6ea95f0 (diff)
Nightly gets LLVM assertions
-rwxr-xr-xconfigure10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure b/configure
index 97c998a5cda..4f809237bf8 100755
--- a/configure
+++ b/configure
@@ -617,11 +617,15 @@ fi
 step_msg "validating $CFG_SELF args"
 validate_opt
 
-# Validate the release channel
+# Validate the release channel, and configure options
 case "$CFG_RELEASE_CHANNEL" in
-    (dev | nightly | beta | stable)
+    nightly )
+	msg "overriding settings for $CFG_RELEASE_CHANNEL"
+	CFG_ENABLE_LLVM_ASSERTIONS=1
 	;;
-    (*)
+    dev | beta | stable)
+	;;
+    *)
         err "release channel must be 'dev', 'nightly', 'beta' or 'stable'"
         ;;
 esac