From 21ab123770ff42d8c5b8e6b1372ecef4881b786d Mon Sep 17 00:00:00 2001
From: Richard Levitte <levitte@openssl.org>
Date: Thu, 19 Mar 2015 22:35:12 +0100
Subject: [PATCH] If the target is an old style debug- target, it will not have
 debugging [cl]flags

Reviewed-by: Stephen Henson <steve@openssl.org>
---
 Configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Configure b/Configure
index c038f85594..35f8f8be9a 100755
--- a/Configure
+++ b/Configure
@@ -1196,6 +1196,7 @@ if ($d) {
 &usage if (!defined($table{$target})
 	   || $table{$target}->{template}
 	   || ($build_prefix eq "debug_"
+	       && $target !~ /^debug-/
 	       && !($table{$target}->{debug_cflags}
 		    || $table{$target}->{debug_lflags})));
 
-- 
2.25.1