summaryrefslogtreecommitdiff
path: root/x2p/cflags.SH
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2001-09-06 14:31:37 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-06 14:07:45 +0000
commit40fee94577535e58810d39c7cb522a3551ea435a (patch)
tree6567cbdb0f0a53c68ecb6fc68f1b2d3cea748d90 /x2p/cflags.SH
parent006d0b4640909234c5760aebf50c220e2bd25cb1 (diff)
downloadperl-40fee94577535e58810d39c7cb522a3551ea435a.tar.gz
make OPTIMIZE=...
Message-Id: <200109061231.NAA25265@tempest.npl.co.uk> p4raw-id: //depot/perl@11918
Diffstat (limited to 'x2p/cflags.SH')
-rwxr-xr-xx2p/cflags.SH7
1 files changed, 7 insertions, 0 deletions
diff --git a/x2p/cflags.SH b/x2p/cflags.SH
index 779035f9cb..255f586f24 100755
--- a/x2p/cflags.SH
+++ b/x2p/cflags.SH
@@ -48,6 +48,13 @@ case $PERL_CONFIG_SH in
;;
esac
+case "X$1" in
+Xoptimize=*|X"optimize=*")
+ eval "$1"
+ shift
+ ;;
+esac
+
also=': '
case $# in
1) also='echo 1>&2 " CCCMD = "'