about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-10-23 10:25:01 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-10-23 10:25:01 -0700
commitf96a4cca8126341d58c816df03a5ead8b6628e33 (patch)
tree31973c87540ae8239aa3938f1e95bb7ce0634007
parent174838f7f90d713a0bc73159a44651e153f7bb88 (diff)
downloadrust-f96a4cca8126341d58c816df03a5ead8b6628e33.tar.gz
rust-f96a4cca8126341d58c816df03a5ead8b6628e33.zip
configure: Disable debuginfo lines on MinGW
Looks like these are causing assertions on the bots, let's disable them for now
(#37364).
-rwxr-xr-xconfigure18
1 files changed, 16 insertions, 2 deletions
diff --git a/configure b/configure
index ceb67869efe..2bc8c72e3ea 100755
--- a/configure
+++ b/configure
@@ -722,11 +722,25 @@ case "$CFG_RELEASE_CHANNEL" in
     nightly )
 	msg "overriding settings for $CFG_RELEASE_CHANNEL"
 	CFG_ENABLE_LLVM_ASSERTIONS=1
-	CFG_ENABLE_DEBUGINFO_LINES=1
+
+        # FIXME(#37364) shouldn't have to disable this on windows-gnu
+        case "$CFG_BUILD" in
+          *-pc-windows-gnu)
+            ;;
+          *)
+	    CFG_ENABLE_DEBUGINFO_LINES=1
+            ;;
+        esac
 	;;
     beta | stable)
 	msg "overriding settings for $CFG_RELEASE_CHANNEL"
-	CFG_ENABLE_DEBUGINFO_LINES=1
+        case "$CFG_BUILD" in
+          *-pc-windows-gnu)
+            ;;
+          *)
+	    CFG_ENABLE_DEBUGINFO_LINES=1
+            ;;
+        esac
 	;;
     dev)
 	;;