mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-01 07:25:42 +02:00
Handle 'trace' and 'debug' with Perl compiler
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5820 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
737ee8c4d4
commit
f65ff294df
@ -276,6 +276,7 @@ compiler() {
|
|||||||
#
|
#
|
||||||
# Perl compiler -- set the appropriate Perl options
|
# Perl compiler -- set the appropriate Perl options
|
||||||
#
|
#
|
||||||
|
[ "$1" = debug ] && DEBUG=Yes && shift
|
||||||
debugflags="-w"
|
debugflags="-w"
|
||||||
[ -n "$DEBUG" ] && debugflags='-wd'
|
[ -n "$DEBUG" ] && debugflags='-wd'
|
||||||
[ -n "$PROFILE" ] && DEBUGFLAGS='-wd:DProf'
|
[ -n "$PROFILE" ] && DEBUGFLAGS='-wd:DProf'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user