diff options
author | Ulf Möller <ulf@openssl.org> | 2000-07-21 19:00:38 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-07-21 19:00:38 +0000 |
commit | d55a3cf19ddf163df97d6b636ba1f3817e682192 (patch) | |
tree | 0e57f191623b7a57b95daa89db8dbf5e9a354ec8 /util/pl | |
parent | fa729135d8833d4e2a3429b47957a1c8f09affbf (diff) |
Profiling option for mk1mf.pl
Diffstat (limited to 'util/pl')
-rw-r--r-- | util/pl/linux.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/pl/linux.pl b/util/pl/linux.pl index 3e49755326..8924ed5480 100644 --- a/util/pl/linux.pl +++ b/util/pl/linux.pl @@ -12,6 +12,8 @@ $rm='/bin/rm -f'; $cc='gcc'; if ($debug) { $cflags="-g2 -ggdb -DREF_CHECK -DCRYPTO_MDEBUG"; } +elsif ($profile) + { $cflags="-pg -O3"; } else { $cflags="-O3 -fomit-frame-pointer"; } |