summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH7
1 files changed, 7 insertions, 0 deletions
diff --git a/cflags.SH b/cflags.SH
index d2564afe96..44d19e49ca 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -42,6 +42,13 @@ case $PERL_CONFIG_SH in
;;
esac
+case "X$1" in
+Xoptimize=*)
+ eval "$1"
+ shift
+ ;;
+esac
+
perltype=''
optdebug='' # ensure -g used if building a -DDEBUGGING libperl
case $# in