summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-03-17 16:30:54 +0100
committerRichard Levitte <levitte@openssl.org>2015-03-17 17:01:31 +0100
commit9e43c6b5c28731d13afcb4658dc2fa4dd188cc0b (patch)
tree10fb1168ba231605354e949b0760fbd8afbc0a35 /config
parentDead code removal from apps (diff)
downloadopenssl-9e43c6b5c28731d13afcb4658dc2fa4dd188cc0b.tar.xz
openssl-9e43c6b5c28731d13afcb4658dc2fa4dd188cc0b.zip
Correct the request of debug builds
./config would translate -d into having the target get a 'debug-' prefix, and then run './Configure LIST' to find out if such a debugging target exists or not. With the recent changes, the separate 'debug-foo' targets are disappearing, and we're giving the normal targets debugging capabilities instead. Unfortunately, './config' wasn't changed to match this new behavior. This change introduces the arguments '--debug' and '--release' - the latter just for orthogonality - to ./Configure, and ./config now treats -d by adding '--debug' to the options for ./Configure. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'config')
-rwxr-xr-xconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/config b/config
index 86442114b4..44c48c1a3d 100755
--- a/config
+++ b/config
@@ -29,7 +29,7 @@ EXE=""
for i
do
case "$i" in
--d*) PREFIX="debug-";;
+-d*) options=$options" --debug";;
-t*) TEST="true";;
-h*) TEST="true"; cat <<EOF
Usage: config [options]